Browse Source

添加移除费用(管理员)

v1.0
Yen 2 years ago
parent
commit
9701b5f985
  1. 10
      src/main/java/com/qs/serve/modules/baz/controller/BazVisitInstanceController.java
  2. 2
      src/main/java/com/qs/serve/modules/baz/entity/so/BazVisitInstanceSo.java
  3. 3
      src/main/java/com/qs/serve/modules/baz/service/impl/BazVisitFlowServiceImpl.java
  4. 86
      src/main/java/com/qs/serve/modules/sys/entity/SysDeleteLog.java
  5. 14
      src/main/java/com/qs/serve/modules/sys/mapper/SysDeleteLogMapper.java
  6. 21
      src/main/java/com/qs/serve/modules/sys/service/SysDeleteLogService.java
  7. 117
      src/main/java/com/qs/serve/modules/sys/service/impl/SysDeleteLogServiceImpl.java
  8. 62
      src/main/java/com/qs/serve/modules/tbs/controller/TbsBudgetLogController.java
  9. 15
      src/main/java/com/qs/serve/modules/tbs/controller/TbsCostApplyController.java
  10. 101
      src/main/java/com/qs/serve/modules/tbs/mapper/TbsCostApplyRemoveMapper.java
  11. 2
      src/main/java/com/qs/serve/modules/vtb/common/VtbVerificationState.java

10
src/main/java/com/qs/serve/modules/baz/controller/BazVisitInstanceController.java

@ -45,17 +45,15 @@ public class BazVisitInstanceController {
*/
@GetMapping("/page")
public R<PageVo<BazVisitInstance>> getPage(BazVisitInstanceSo param){
BazVisitInstance entity = CopierUtil.copy(param,new BazVisitInstance());
LambdaQueryWrapper<BazVisitInstance> lqw = new LambdaQueryWrapper<>(entity);
BazVisitInstance query = CopierUtil.copy(param,new BazVisitInstance());
if(param.getQueryStartDate()!=null){
lqw.ge(BazVisitInstance::getCreateTime,param.getQueryStartDate());
query.setQueryEndDate(param.getQueryStartDate().atStartOfDay());
}
if(param.getQueryEndDate()!=null){
lqw.le(BazVisitInstance::getCreateTime,param.getQueryEndDate().atTime(23,59,59));
query.setQueryEndDate(param.getQueryEndDate().atTime(23,59,59));
}
PageUtil.startPage();
lqw.orderByDesc(BazVisitInstance::getCreateTime);
List<BazVisitInstance> list = bazVisitInstanceService.list(lqw);
List<BazVisitInstance> list = bazVisitInstanceService.selectBazVisitInstanceList(query);
return R.byPageHelperList(list);
}

2
src/main/java/com/qs/serve/modules/baz/entity/so/BazVisitInstanceSo.java

@ -60,6 +60,8 @@ public class BazVisitInstanceSo implements Serializable {
/** 遗失定位标识 */
private Integer missLocalFlag;
private String summary;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
private LocalDate queryStartDate;

3
src/main/java/com/qs/serve/modules/baz/service/impl/BazVisitFlowServiceImpl.java

@ -40,6 +40,9 @@ public class BazVisitFlowServiceImpl extends ServiceImpl<BazVisitFlowMapper,BazV
LambdaQueryWrapper<BazVisitFlow> lqwErrCount = new LambdaQueryWrapper<>();
lqwErrCount.eq(BazVisitFlow::getVisitId,bazVisit.getId());
lqwErrCount.eq(BazVisitFlow::getFlowBizType,param.getFlowBizType());
if(id!=null){
lqwErrCount.ne(BazVisitFlow::getId,id);
}
if(this.count(lqwErrCount)>0){
Assert.throwEx("流程中业务类型不能重复");
}

86
src/main/java/com/qs/serve/modules/sys/entity/SysDeleteLog.java

@ -0,0 +1,86 @@
package com.qs.serve.modules.sys.entity;
import java.time.LocalDate;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
/**
* 删除日志 实体类
* @author YenHex
* @since 2023-12-08
*/
@Data
@TableName("sys_delete_log")
public class SysDeleteLog implements Serializable {
private static final long serialVersionUID = 1L;
/** id */
@TableId(type = IdType.AUTO)
private Long id;
/** 删除批次 */
private String batchCode;
/** 选项类型 */
@Length(max = 50,message = "选项类型长度不能超过50字")
private String targetTable;
/** 目标id */
@Length(max = 100,message = "目标id长度不能超过100字")
private String targetId;
/** 目标编码 */
@Length(max = 100,message = "目标编码长度不能超过100字")
private String targetCode;
/** 备注 */
@Length(max = 255,message = "备注长度不能超过255字")
private String remark;
/** 创建时间 */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createTime;
/** 创建人 */
@TableField(fill = FieldFill.INSERT)
private String createBy;
/** 更新时间 */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
@TableField(fill = FieldFill.UPDATE)
private LocalDateTime updateTime;
/** 更新人 */
@TableField(fill = FieldFill.UPDATE)
private String updateBy;
/** 租户id */
@JsonIgnore
@JsonProperty
private String tenantId;
/** 删除标识 */
@JsonIgnore
@JsonProperty
private Boolean delFlag;
}

14
src/main/java/com/qs/serve/modules/sys/mapper/SysDeleteLogMapper.java

@ -0,0 +1,14 @@
package com.qs.serve.modules.sys.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qs.serve.modules.sys.entity.SysDeleteLog;
/**
* 删除日志 Mapper
* @author YenHex
* @date 2023-12-08
*/
public interface SysDeleteLogMapper extends BaseMapper<SysDeleteLog> {
}

21
src/main/java/com/qs/serve/modules/sys/service/SysDeleteLogService.java

@ -0,0 +1,21 @@
package com.qs.serve.modules.sys.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qs.serve.modules.sys.entity.SysDeleteLog;
/**
* 删除日志 服务接口
* @author YenHex
* @date 2023-12-08
*/
public interface SysDeleteLogService extends IService<SysDeleteLog> {
/**
* 删除费用申请相关所有数据
* @param costApplyId
* @param remark
*/
void deleteCostApply(Long costApplyId,String remark);
}

117
src/main/java/com/qs/serve/modules/sys/service/impl/SysDeleteLogServiceImpl.java

@ -0,0 +1,117 @@
package com.qs.serve.modules.sys.service.impl;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qs.serve.common.util.IdUtil;
import com.qs.serve.modules.tbs.entity.TbsCostApply;
import com.qs.serve.modules.tbs.entity.TbsCostTodo;
import com.qs.serve.modules.tbs.mapper.TbsCostApplyMapper;
import com.qs.serve.modules.tbs.mapper.TbsCostApplyRemoveMapper;
import com.qs.serve.modules.tbs.mapper.TbsCostTodoMapper;
import com.qs.serve.modules.vtb.entity.VtbVerification;
import com.qs.serve.modules.vtb.mapper.VtbVerificationMapper;
import com.qs.serve.modules.vtb.service.VtbVerificationService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import com.qs.serve.modules.sys.entity.SysDeleteLog;
import com.qs.serve.modules.sys.service.SysDeleteLogService;
import com.qs.serve.modules.sys.mapper.SysDeleteLogMapper;
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.List;
/**
* 删除日志 服务实现类
* @author YenHex
* @since 2023-12-08
*/
@Slf4j
@Service
@AllArgsConstructor
public class SysDeleteLogServiceImpl extends ServiceImpl<SysDeleteLogMapper,SysDeleteLog> implements SysDeleteLogService {
private final TbsCostApplyRemoveMapper tbsCostApplyRemoveMapper;
private final TbsCostApplyMapper tbsCostApplyMapper;
private final VtbVerificationMapper verificationMapper;
private final TbsCostTodoMapper tbsCostTodoMapper;
@Override
@Transactional(rollbackFor = Exception.class)
public void deleteCostApply(Long costApplyId,String remark) {
TbsCostApply costApply = tbsCostApplyMapper.selectById(costApplyId);
String batchCode = System.currentTimeMillis()+"";
List<SysDeleteLog> deleteLogList = new ArrayList<>();
if(costApply!=null){
SysDeleteLog deleteLog = new SysDeleteLog();
deleteLog.setBatchCode(batchCode);
deleteLog.setTargetTable("tbs_cost_apply");
deleteLog.setTargetId(costApply.getId()+"");
deleteLog.setTargetCode(costApply.getCode());
deleteLog.setRemark(remark);
deleteLogList.add(deleteLog);
}
tbsCostApplyRemoveMapper.tbs_cost_apply(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_center(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_center_goods(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_goods(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_channel(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_channel_point(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_pay_condition(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_slotting_fee(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_subject(costApplyId);
tbsCostApplyRemoveMapper.tbs_activity_subject_yarn(costApplyId);
//记录进行中的核销
LambdaQueryWrapper<VtbVerification> verificationLqw = new LambdaQueryWrapper<>();
verificationLqw.eq(VtbVerification::getCostApplyId,costApplyId);
List<VtbVerification> vtbVerificationList = verificationMapper.selectList(verificationLqw);
for (VtbVerification verification : vtbVerificationList) {
SysDeleteLog deleteLog = new SysDeleteLog();
deleteLog.setBatchCode(batchCode);
deleteLog.setTargetTable("vtb_verification");
deleteLog.setTargetId(verification.getId()+"");
deleteLog.setTargetCode(verification.getVerificationCode());
deleteLog.setRemark(remark);
deleteLogList.add(deleteLog);
}
tbsCostApplyRemoveMapper.vtb_verification(costApplyId);
tbsCostApplyRemoveMapper.pay_payment(costApplyId);
tbsCostApplyRemoveMapper.pay_payment_item(costApplyId);
tbsCostApplyRemoveMapper.tbs_budget_log(costApplyId);
tbsCostApplyRemoveMapper.tbs_budget_cost_item(costApplyId);
tbsCostApplyRemoveMapper.tbs_budget_cost_item_split(costApplyId);
tbsCostApplyRemoveMapper.vtb_fund_flow(costApplyId);
tbsCostApplyRemoveMapper.bir_activity_center_goods(costApplyId);
tbsCostApplyRemoveMapper.bir_base_activity(costApplyId);
tbsCostApplyRemoveMapper.bir_payment_item(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_subject(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_yard_item(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_yard_center_item(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_subject_center(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_channel_point(costApplyId);
tbsCostApplyRemoveMapper.vtb_verification_channel(costApplyId);
tbsCostApplyRemoveMapper.tbs_cost_contract(costApplyId);
tbsCostApplyRemoveMapper.tbs_cost_percent(costApplyId);
//记录进行中的协议条款
LambdaQueryWrapper<TbsCostTodo> todoLqw = new LambdaQueryWrapper<>();
todoLqw.eq(TbsCostTodo::getCostApplyId,costApplyId);
List<TbsCostTodo> costTodoList = tbsCostTodoMapper.selectList(todoLqw);
for (TbsCostTodo costTodo : costTodoList) {
SysDeleteLog deleteLog = new SysDeleteLog();
deleteLog.setBatchCode(batchCode);
deleteLog.setTargetTable("tbs_cost_todo");
deleteLog.setTargetId(costTodo.getId()+"");
deleteLog.setTargetCode(costTodo.getTodoCode());
deleteLog.setRemark(remark);
deleteLogList.add(deleteLog);
}
tbsCostApplyRemoveMapper.tbs_cost_todo(costApplyId);
this.saveBatch(deleteLogList);
}
}

62
src/main/java/com/qs/serve/modules/tbs/controller/TbsBudgetLogController.java

@ -21,6 +21,7 @@ import com.qs.serve.modules.tbs.service.TbsBudgetService;
import com.qs.serve.modules.tbs.service.TbsScheduleItemBudgetService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.Nullable;
import org.springframework.web.bind.annotation.*;
import com.qs.serve.modules.tbs.entity.so.TbsBudgetLogSo;
@ -117,16 +118,57 @@ public class TbsBudgetLogController {
lqw.eq(TbsScheduleItemBudget::getBudgetId,budgetId);
lqw.eq(TbsScheduleItemBudget::getScheduleItemId,itemId);
List<TbsScheduleItemBudget> tbsScheduleItemBudgetList = tbsScheduleItemBudgetService.list(lqw);
TbsScheduleItemBudget rs = this.getItemBudget(budgetId, tbsScheduleItemBudgetList);
return R.ok(rs);
}
/**
* 获取统计金额返回预算列表
* @param budgetId
* @return
*/
@GetMapping("/getItemListAmount")
public R<List<TbsScheduleItemBudget>> getItemListAmount(Long budgetId){
LambdaQueryWrapper<TbsScheduleItemBudget> lqw = new LambdaQueryWrapper<>();
lqw.eq(TbsScheduleItemBudget::getBudgetId,budgetId);
List<TbsScheduleItemBudget> tbsScheduleItemBudgetList = tbsScheduleItemBudgetService.list(lqw);
Map<Long,List<TbsScheduleItemBudget>> tbsScheduleItemBudgetListMap = tbsScheduleItemBudgetList.stream()
.collect(Collectors.groupingBy(TbsScheduleItemBudget::getScheduleItemId));
List<TbsScheduleItemBudget> resultList = new ArrayList<>();
for (Long schItemId : tbsScheduleItemBudgetListMap.keySet()) {
tbsScheduleItemBudgetList = tbsScheduleItemBudgetListMap.get(schItemId);
TbsScheduleItemBudget rs = this.getItemBudget(budgetId, tbsScheduleItemBudgetList);
resultList.add(rs);
}
return R.ok(resultList);
}
/**
* ID查询
* @param id
* @return
*/
@GetMapping("/getById/{id}")
@SysLog(module = SystemModule.Budget, title = "预算日志", biz = BizType.QUERY)
public R<TbsBudgetLog> getById(@PathVariable("id") String id){
TbsBudgetLog tbsBudgetLog = tbsBudgetLogService.getById(id);
return R.ok(tbsBudgetLog);
}
@Nullable
private TbsScheduleItemBudget getItemBudget(Long budgetId, List<TbsScheduleItemBudget> tbsScheduleItemBudgetList) {
Optional<TbsScheduleItemBudget> optional = tbsScheduleItemBudgetList.stream().findFirst();
TbsScheduleItemBudget rs = null;
if(optional.isPresent()){
TbsScheduleItemBudget a = optional.get();
LambdaQueryWrapper<TbsBudgetLog> lqwLog = new LambdaQueryWrapper<>();
lqwLog.eq(TbsBudgetLog::getScheduleItemBudgetId,a.getId());
lqwLog.eq(TbsBudgetLog::getBudgetId, budgetId);
List<TbsBudgetLog> tbsBudgetLogList = budgetLogService.list(lqwLog);
// a.setBudgetLogList(tbsBudgetLogList);
BigDecimal finalBudgetAmount = tbsBudgetLogList.stream().filter(b-> BudgetLogOptFlag.getFinalBudgetOptFlag().contains(b.getOptType())).map(TbsBudgetLog::getAmount)
.reduce(BigDecimal.ZERO,BigDecimal::add);
@ -139,21 +181,9 @@ public class TbsBudgetLogController {
a.setFinalBudgetAmount(finalBudgetAmount);
a.setUnUsedBudgetAmount(unUsedBudgetAmount);
a.setUsedBudgetAmount(usedBudgetAmount);
return R.ok(a);
rs = a;
}
return R.ok();
}
/**
* ID查询
* @param id
* @return
*/
@GetMapping("/getById/{id}")
@SysLog(module = SystemModule.Budget, title = "预算日志", biz = BizType.QUERY)
public R<TbsBudgetLog> getById(@PathVariable("id") String id){
TbsBudgetLog tbsBudgetLog = tbsBudgetLogService.getById(id);
return R.ok(tbsBudgetLog);
return rs;
}
}

15
src/main/java/com/qs/serve/modules/tbs/controller/TbsCostApplyController.java

@ -20,6 +20,7 @@ import com.qs.serve.modules.seeyon.entity.CtpAffairQo;
import com.qs.serve.modules.seeyon.entity.bo.CtpAddNodeParam;
import com.qs.serve.modules.seeyon.service.SeeYonRequestService;
import com.qs.serve.modules.sys.entity.SysUser;
import com.qs.serve.modules.sys.service.SysDeleteLogService;
import com.qs.serve.modules.sys.service.SysPostUserService;
import com.qs.serve.modules.sys.service.SysUserService;
import com.qs.serve.modules.tbs.common.TbsCostApplyState;
@ -81,6 +82,7 @@ public class TbsCostApplyController {
private TbsBudgetCostItemService tbsBudgetCostItemService;
private TbsBudgetLogService tbsBudgetLogService;
private TbsScheduleItemBudgetService tbsScheduleItemBudgetService;
private SysDeleteLogService deleteLogService;
/**
@ -509,5 +511,18 @@ public class TbsCostApplyController {
return R.ok(resultInfoList);
}
/**
* 移除费用申请
* @param costApplyId
* @param remark
* @return
*/
@GetMapping("removeByAdmin")
public R<?> removeByAdmin(Long costApplyId,String remark){
deleteLogService.deleteCostApply(costApplyId,remark);
return R.ok();
}
}

101
src/main/java/com/qs/serve/modules/tbs/mapper/TbsCostApplyRemoveMapper.java

@ -0,0 +1,101 @@
package com.qs.serve.modules.tbs.mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
/**
* @author YenHex
* @since 2023/12/8
*/
public interface TbsCostApplyRemoveMapper {
@Update("update tbs_cost_apply set del_flag = 0 where id = #{costApplyId}")
int tbs_cost_apply(@Param("costApplyId") Long costId);
@Update("update tbs_activity set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity(@Param("costApplyId") Long costId);
@Update("update tbs_activity_center set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_center(@Param("costApplyId") Long costId);
@Update("update tbs_activity_center_goods set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_center_goods(@Param("costApplyId") Long costId);
@Update("update tbs_activity_goods set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_goods(@Param("costApplyId") Long costId);
@Update("update tbs_activity_channel set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_channel(@Param("costApplyId") Long costId);
@Update("update tbs_activity_channel_point set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_channel_point(@Param("costApplyId") Long costId);
@Update("update tbs_activity_pay_condition set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_pay_condition(@Param("costApplyId") Long costId);
@Update("update tbs_activity_slotting_fee set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_slotting_fee(@Param("costApplyId") Long costId);
@Update("update tbs_activity_subject set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_subject(@Param("costApplyId") Long costId);
@Update("update tbs_activity_subject_yarn set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_activity_subject_yarn(@Param("costApplyId") Long costId);
@Update("update vtb_verification set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification(@Param("costApplyId") Long costId);
@Update("update pay_payment set del_flag = 0 where cost_apply_id = #{costApplyId}")
int pay_payment(@Param("costApplyId") Long costId);
@Update("update pay_payment_item set del_flag = 0 where cost_apply_id = #{costApplyId}")
int pay_payment_item(@Param("costApplyId") Long costId);
@Update("update tbs_budget_log set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_budget_log(@Param("costApplyId") Long costId);
@Update("update tbs_budget_cost_item set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_budget_cost_item(@Param("costApplyId") Long costId);
@Update("update tbs_budget_cost_item_split set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_budget_cost_item_split(@Param("costApplyId") Long costId);
@Update("update vtb_fund_flow set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_fund_flow(@Param("costApplyId") Long costId);
@Update("update bir_activity_center_goods set del_flag = 0 where cost_apply_id = #{costApplyId}")
int bir_activity_center_goods(@Param("costApplyId") Long costId);
@Update("update bir_base_activity set del_flag = 0 where cost_apply_id = #{costApplyId}")
int bir_base_activity(@Param("costApplyId") Long costId);
@Update("update bir_payment_item set del_flag = 0 where cost_apply_id = #{costApplyId}")
int bir_payment_item(@Param("costApplyId") Long costId);
@Update("update vtb_verification_subject set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_subject(@Param("costApplyId") Long costId);
@Update("update vtb_verification_yard_item set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_yard_item(@Param("costApplyId") Long costId);
@Update("update vtb_verification_yard_center_item set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_yard_center_item(@Param("costApplyId") Long costId);
@Update("update vtb_verification_subject_center set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_subject_center(@Param("costApplyId") Long costId);
@Update("update vtb_verification_channel_point set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_channel_point(@Param("costApplyId") Long costId);
@Update("update vtb_verification_channel set del_flag = 0 where cost_apply_id = #{costApplyId}")
int vtb_verification_channel(@Param("costApplyId") Long costId);
@Update("update tbs_cost_contract set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_cost_contract(@Param("costApplyId") Long costId);
@Update("update tbs_cost_percent set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_cost_percent(@Param("costApplyId") Long costId);
@Update("update tbs_cost_todo set del_flag = 0 where cost_apply_id = #{costApplyId}")
int tbs_cost_todo(@Param("costApplyId") Long costId);
}

2
src/main/java/com/qs/serve/modules/vtb/common/VtbVerificationState.java

@ -21,4 +21,6 @@ public enum VtbVerificationState {
private Integer code;
}

Loading…
Cancel
Save