|
|
@ -92,13 +92,12 @@ public class TaskWorkParamRead { |
|
|
|
private final String SOURCE = "work"; |
|
|
|
|
|
|
|
public int createParamBill(String inComeDate) { |
|
|
|
//String inComeDate="2023-11-29";
|
|
|
|
DcBusiCoderuleConfigDao ruleIdByBusicode = dcBaseCoderuleDefineService.getRuleIdByBusicode(BUSICODE); |
|
|
|
DcBaseCoderuleDefineDao ruleDao = dcBaseCoderuleDefineService.selectDcBaseCoderuleDefineDaoById(ruleIdByBusicode.getRuleId()); |
|
|
|
DcBusiParamBillMaster billm = new DcBusiParamBillMaster(); |
|
|
|
String billNo = codeNoGenerater.getCode(ruleDao); |
|
|
|
if (StringUtils.isNull(billNo)) { |
|
|
|
billNo = "AD_" + String.valueOf(System.currentTimeMillis()); |
|
|
|
billNo = "AD_" + System.currentTimeMillis(); |
|
|
|
} |
|
|
|
billm.setBillNo(billNo); |
|
|
|
billm.setCreatedBy("robot"); |
|
|
@ -109,7 +108,6 @@ public class TaskWorkParamRead { |
|
|
|
billm.setCheckStatus("1"); |
|
|
|
List<DcBusiParamBillSub> billSub = new ArrayList<>(); |
|
|
|
DcBusiWorkReadConfig dwrc = new DcBusiWorkReadConfig(); |
|
|
|
//dwrc.setAssetCode(assetCode);
|
|
|
|
dwrc.setGoalSource(SOURCE); |
|
|
|
List<DcBusiWorkReadConfig> dcBusiWorkReadConfigs = dcBusiWorkReadConfigService.selectDcBusiWorkReadConfigList(dwrc); |
|
|
|
List<String> pcl = dcBusiWorkReadConfigs.parallelStream().filter(o -> StringUtils.isNotEmpty(o.getGoalParamCode())).map(DcBusiWorkReadConfig::getGoalParamCode).collect(Collectors.toList()); |
|
|
|