|
@@ -141,43 +141,41 @@ public class QyRecordInfoServiceImpl extends ServiceImpl<QyRecordInfoMapper, QyR
|
|
|
qyRecordAttachmentService.save(qyRecordAttachment);
|
|
|
});
|
|
|
}
|
|
|
- if ("2".equals(qyRecordInfo.getStatus())){
|
|
|
- QyRecordInfoCheckList qyRecordInfoCheckList = new QyRecordInfoCheckList();
|
|
|
- qyRecordInfoCheckList.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
- qyRecordInfoCheckList.setCheckTime(new Date());
|
|
|
- qyRecordInfoCheckList.setStatus("审核中");
|
|
|
- qyRecordInfoCheckList.setResult("提交成功,待审核");
|
|
|
- if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("备案");
|
|
|
- }
|
|
|
- if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("变更");
|
|
|
- }
|
|
|
- if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("注销");
|
|
|
- }
|
|
|
- String nickname = StpLoginUserUtil.getLoginUser().getName();
|
|
|
- qyRecordInfoCheckList.setCompanyName(nickname);
|
|
|
- qyRecordInfoCheckListService.save(qyRecordInfoCheckList);
|
|
|
+ QyRecordInfoCheckList qyRecordInfoCheckList = new QyRecordInfoCheckList();
|
|
|
+ qyRecordInfoCheckList.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
+ qyRecordInfoCheckList.setCheckTime(new Date());
|
|
|
+ qyRecordInfoCheckList.setStatus("审核中");
|
|
|
+ qyRecordInfoCheckList.setResult("提交成功,待审核");
|
|
|
+ if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("备案");
|
|
|
+ }
|
|
|
+ if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("变更");
|
|
|
+ }
|
|
|
+ if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("注销");
|
|
|
+ }
|
|
|
+ String nickname = StpLoginUserUtil.getLoginUser().getName();
|
|
|
+ qyRecordInfoCheckList.setCompanyName(nickname);
|
|
|
+ qyRecordInfoCheckListService.save(qyRecordInfoCheckList);
|
|
|
|
|
|
- QyRecordInfoCheckList qyRecordInfoCheckList_ = new QyRecordInfoCheckList();
|
|
|
- qyRecordInfoCheckList_.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
- qyRecordInfoCheckList_.setCheckTime(new Date());
|
|
|
- qyRecordInfoCheckList_.setStatus("审核通过");
|
|
|
- qyRecordInfoCheckList_.setApplyMan("张白龙");
|
|
|
- qyRecordInfoCheckList_.setResult("提交成功,审核通过");
|
|
|
- if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList_.setApplyType("备案");
|
|
|
- }
|
|
|
- if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList_.setApplyType("变更");
|
|
|
- }
|
|
|
- if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList_.setApplyType("注销");
|
|
|
- }
|
|
|
- qyRecordInfoCheckList_.setCompanyName(StpLoginUserUtil.getLoginUser().getName());
|
|
|
- qyRecordInfoCheckListService.save(qyRecordInfoCheckList_);
|
|
|
+ QyRecordInfoCheckList qyRecordInfoCheckList_ = new QyRecordInfoCheckList();
|
|
|
+ qyRecordInfoCheckList_.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
+ qyRecordInfoCheckList_.setCheckTime(new Date());
|
|
|
+ qyRecordInfoCheckList_.setStatus("审核通过");
|
|
|
+ qyRecordInfoCheckList_.setApplyMan("张白龙");
|
|
|
+ qyRecordInfoCheckList_.setResult("提交成功,审核通过");
|
|
|
+ if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("备案");
|
|
|
+ }
|
|
|
+ if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("变更");
|
|
|
+ }
|
|
|
+ if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("注销");
|
|
|
}
|
|
|
+ qyRecordInfoCheckList_.setCompanyName(StpLoginUserUtil.getLoginUser().getName());
|
|
|
+ qyRecordInfoCheckListService.save(qyRecordInfoCheckList_);
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@@ -231,44 +229,42 @@ public class QyRecordInfoServiceImpl extends ServiceImpl<QyRecordInfoMapper, QyR
|
|
|
qyRecordProductService.save(product);
|
|
|
});
|
|
|
}
|
|
|
- if ("2".equals(qyRecordInfo.getStatus())){
|
|
|
- QyRecordInfoCheckList qyRecordInfoCheckList = new QyRecordInfoCheckList();
|
|
|
- qyRecordInfoCheckList.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
- qyRecordInfoCheckList.setCheckTime(new Date());
|
|
|
- qyRecordInfoCheckList.setStatus("审核中");
|
|
|
- qyRecordInfoCheckList.setResult("提交成功,待审核");
|
|
|
- if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("备案");
|
|
|
- }
|
|
|
- if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("变更");
|
|
|
- }
|
|
|
- if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
- qyRecordInfoCheckList.setApplyType("注销");
|
|
|
- }
|
|
|
+ QyRecordInfoCheckList qyRecordInfoCheckList = new QyRecordInfoCheckList();
|
|
|
+ qyRecordInfoCheckList.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
+ qyRecordInfoCheckList.setCheckTime(new Date());
|
|
|
+ qyRecordInfoCheckList.setStatus("审核中");
|
|
|
+ qyRecordInfoCheckList.setResult("提交成功,待审核");
|
|
|
+ if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("备案");
|
|
|
+ }
|
|
|
+ if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("变更");
|
|
|
+ }
|
|
|
+ if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList.setApplyType("注销");
|
|
|
+ }
|
|
|
|
|
|
- String nickname = StpLoginUserUtil.getLoginUser().getName();
|
|
|
- qyRecordInfoCheckList.setCompanyName(nickname);
|
|
|
- qyRecordInfoCheckListService.save(qyRecordInfoCheckList);
|
|
|
+ String nickname = StpLoginUserUtil.getLoginUser().getName();
|
|
|
+ qyRecordInfoCheckList.setCompanyName(nickname);
|
|
|
+ qyRecordInfoCheckListService.save(qyRecordInfoCheckList);
|
|
|
|
|
|
-// QyRecordInfoCheckList qyRecordInfoCheckList_ = new QyRecordInfoCheckList();
|
|
|
-// qyRecordInfoCheckList_.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
-// qyRecordInfoCheckList_.setCheckTime(new Date());
|
|
|
-// qyRecordInfoCheckList_.setStatus("审核通过");
|
|
|
-// qyRecordInfoCheckList_.setResult("提交成功,待审核");
|
|
|
-// if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
-// qyRecordInfoCheckList_.setApplyType("备案");
|
|
|
-// }
|
|
|
-// if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
-// qyRecordInfoCheckList_.setApplyType("变更");
|
|
|
-// }
|
|
|
-// if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
-// qyRecordInfoCheckList_.setApplyType("注销");
|
|
|
-// }
|
|
|
-// qyRecordInfoCheckList_.setCompanyName(StpLoginUserUtil.getLoginUser().getName());
|
|
|
-// qyRecordInfoCheckList_.setApplyMan("张白龙");
|
|
|
-// qyRecordInfoCheckListService.save(qyRecordInfoCheckList_);
|
|
|
+ QyRecordInfoCheckList qyRecordInfoCheckList_ = new QyRecordInfoCheckList();
|
|
|
+ qyRecordInfoCheckList_.setYlTzCode(qyRecordInfo.getYlTzCode());
|
|
|
+ qyRecordInfoCheckList_.setCheckTime(new Date());
|
|
|
+ qyRecordInfoCheckList_.setStatus("审核通过");
|
|
|
+ qyRecordInfoCheckList_.setResult("提交成功,待审核");
|
|
|
+ if ("basq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("备案");
|
|
|
+ }
|
|
|
+ if ("bgsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("变更");
|
|
|
+ }
|
|
|
+ if ("zxsq".equals(qyRecordInfo.getApplyType())){
|
|
|
+ qyRecordInfoCheckList_.setApplyType("注销");
|
|
|
}
|
|
|
+ qyRecordInfoCheckList_.setCompanyName(StpLoginUserUtil.getLoginUser().getName());
|
|
|
+ qyRecordInfoCheckList_.setApplyMan("张白龙");
|
|
|
+ qyRecordInfoCheckListService.save(qyRecordInfoCheckList_);
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|