Commit 141c64ae authored by huyuchen's avatar huyuchen

huych-含风险项目商险不购买申请提交

parent 82d1862a
......@@ -31,9 +31,9 @@ public class TInsuranceUnpurchasePersonVo implements Serializable {
/**
* 不购买申请流程单号
*/
@ExcelAttribute(name = "不购买申请流程单号")
@Schema(description = "不购买申请流程单号")
@ExcelProperty("不购买申请流程单号")
@ExcelAttribute(name = "不购买申请号")
@Schema(description = "不购买申请号")
@ExcelProperty("不购买申请号")
private String applyNo;
/**
......
......@@ -96,8 +96,7 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
public R deleteById(String id) {
TInsuranceUnpurchaseApply apply = baseMapper.selectById(id);
if (Common.isNotNull(apply)) {
apply.setDeleteFlag(CommonConstants.ONE_STRING);
baseMapper.updateById(apply);
baseMapper.deleteById(apply);
personService.remove(Wrappers.<TInsuranceUnpurchasePerson>query().lambda().eq(TInsuranceUnpurchasePerson::getParnetId, id));
return R.ok();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment