|
|
@@ -724,12 +724,8 @@ public class PurchaseManage { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public Long addSystem(XcfhxApplySaveDTO dto) { |
|
|
|
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(LoginUserUtil.getUserId()); |
|
|
|
|
|
|
|
Xinchuang xinchuang = BeanUtil.copyProperties(dto, Xinchuang.class); |
|
|
|
xinchuang.setSourceType(PurchaseSourceTypeEnum.MANUAL_ADDITION.getCode()); |
|
|
|
xinchuang.setBuildOrgCode(userFullInfo.getMhUnitIdStr()); |
|
|
|
xinchuang.setBuildOrgName(userFullInfo.getMhUnitName()); |
|
|
|
if(xinchuangService.save(xinchuang)){ |
|
|
|
if (Boolean.TRUE.equals(dto.getMatchXcfhx())) { |
|
|
|
if (StrUtils.isNotBlank(dto.getMhXcfhxReportFile())) { |
|
|
|