|
|
@ -241,7 +241,7 @@ public class PurchaseQuoteServiceImpl implements IPurchaseQuoteService |
|
|
|
attachFileService.updateAttachIdByIdList(photoAttachId, fileIdList); |
|
|
|
} |
|
|
|
List<PurchaseQuoteChild> childList = purchaseQuote.getPurchaseQuoteChildList(); |
|
|
|
//逻辑删除采购报价单子表
|
|
|
|
//删除采购报价单子表
|
|
|
|
purchaseQuoteChildService.deletePurchaseQuoteChildByQuoteCode(purchaseQuote.getPurchaseQuoteCode()); |
|
|
|
//重新录入子表
|
|
|
|
int childResult = childList.size(); |
|
|
@ -378,7 +378,9 @@ public class PurchaseQuoteServiceImpl implements IPurchaseQuoteService |
|
|
|
SysUser user = ShiroUtils.getSysUser(); |
|
|
|
purchaseQuote.setApplyUser(user.getLoginName()); |
|
|
|
purchaseQuote.setApplyTime(DateUtils.getNowDate()); |
|
|
|
insertPurchaseQuote(purchaseQuote); |
|
|
|
if(purchaseQuote.getPurchaseQuoteId()==null){ |
|
|
|
insertPurchaseQuote(purchaseQuote); |
|
|
|
} |
|
|
|
// 启动流程
|
|
|
|
String applyTitle = user.getUserName()+"发起了客户信息提交审批-"+DateUtils.dateTimeNow(); |
|
|
|
String instanceType = "submit"; |
|
|
|