Commit 41d2aa4b authored by huyuchen's avatar huyuchen

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

parent fe7007e7
......@@ -84,20 +84,6 @@ public class TInsuranceUnpurchaseApplyController {
return new R<>(tInsuranceUnpurchaseApplyService.addApply(tInsuranceUnpurchaseApply));
}
/**
* 修改含风险项目不购买申请表
*
* @param tInsuranceUnpurchaseApply 含风险项目不购买申请表
* @return R
*/
@Operation(summary = "修改含风险项目不购买申请表", description = "修改含风险项目不购买申请表:hasPermission('insurances_tinsuranceunpurchaseapply_edit')")
@SysLog("修改含风险项目不购买申请表")
@PutMapping
@PreAuthorize("@pms.hasPermission('insurances_tinsuranceunpurchaseapply_edit')")
public R<Boolean> updateById(@RequestBody TInsuranceUnpurchaseApply tInsuranceUnpurchaseApply) {
return R.ok(tInsuranceUnpurchaseApplyService.updateById(tInsuranceUnpurchaseApply));
}
/**
* 通过id删除含风险项目不购买申请表
*
......
......@@ -197,6 +197,8 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
tInsuranceUnpurchaseApply.setCreateUserDeptId(user.getDeptId().toString());
tInsuranceUnpurchaseApply.setApplyNo(applyNo);
baseMapper.insert(tInsuranceUnpurchaseApply);
//更新附件
updateFileId(tInsuranceUnpurchaseApply);
List<TInsuranceUnpurchasePerson> personInfoList = new ArrayList<>();
for (TInsuranceUnpurchasePersonAddVo vo : personList) {
TInsuranceUnpurchasePerson person = new TInsuranceUnpurchasePerson();
......
......@@ -54,6 +54,7 @@ security:
- /tinsuranceunpurchaseapply/getAuditCount # 临时调试
- /tinsuranceunpurchaseapply/auditTemp # 临时调试
- /tauditrecord/getAuditInfoByDomainIdAndAuditType # 临时调试
- /tinsuranceunpurchaseapply/{id} # 临时调试
# 文件上传相关 支持阿里云、华为云、腾讯、minio
......
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