|
|
@@ -38,10 +38,7 @@ import org.springblade.business.dto.EKeyDto;
|
|
|
import org.springblade.business.dto.ImportTreeDto;
|
|
|
import org.springblade.business.entity.ConstructionLedger;
|
|
|
import org.springblade.business.entity.InformationQuery;
|
|
|
-import org.springblade.business.feign.ConstructionLedgerFeignClient;
|
|
|
-import org.springblade.business.feign.InformationQueryClient;
|
|
|
-import org.springblade.business.feign.TrialCyAccessoriesClient;
|
|
|
-import org.springblade.business.feign.WbsTreeContractStatisticsClient;
|
|
|
+import org.springblade.business.feign.*;
|
|
|
import org.springblade.business.vo.QueryProcessDataVO;
|
|
|
import org.springblade.common.constant.CommonConstant;
|
|
|
import org.springblade.common.utils.Colour;
|
|
|
@@ -141,6 +138,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
private final WbsTreeContractStatisticsClient wbsTreeContractStatisticsClient;
|
|
|
private final FormulaDataBlockMapper formulaDataBlockMapper;
|
|
|
private final WbsTreeContractExtendService wbsTreeContractExtendService;
|
|
|
+ private final OperationLogClient operationLogClient;
|
|
|
|
|
|
|
|
|
|
|
|
@@ -4321,6 +4319,17 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
this.update(new LambdaUpdateWrapper<WbsTreeContract>()
|
|
|
.eq(WbsTreeContract::getPKeyId, dto.getNodeIds())
|
|
|
.set(WbsTreeContract::getIsUseSort, 1));
|
|
|
+ try{
|
|
|
+ JSONObject json = new JSONObject();
|
|
|
+ json.put("operationObjIds", Collections.singletonList(dto.getNodeIds()));
|
|
|
+ json.put("operationObjName", "表单排序");
|
|
|
+ json.put("projectId", dto.getProjectId());
|
|
|
+ json.put("contractId", dto.getContractId());
|
|
|
+ json.put("saveData", dto);
|
|
|
+ operationLogClient.saveUserOperationLog(3, "资料管理", "工序资料", json);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
} else {
|
|
|
throw new ServiceException("请传入ids");
|
|
|
}
|