|
|
@@ -401,6 +401,11 @@ public class TEoegSaiApplyController extends BaseController
|
|
|
tSaiApply.setDeptId(103L);
|
|
|
tSaiApply.setApplyStatus(0);
|
|
|
tSaiApply.setHandler(tSaiApply.getApplicant());
|
|
|
+ String saiType = tSaiApply.getSaiType();
|
|
|
+ String tpmStatus = tSaiApply.getTpmStatus();
|
|
|
+ if ("TPM".equals(saiType) && "已完成".equals(tpmStatus)) {
|
|
|
+ tSaiApply.setApplyStatus(4L);
|
|
|
+ }
|
|
|
tSaiApplyService.insertTSaiApply(tSaiApply);
|
|
|
if (tSaiApply.getFiles().size() > 0) {
|
|
|
for (TEoegSaiApproveFile t : tSaiApply.getFiles()
|