|
|
@@ -407,7 +407,7 @@ public class TssTracecodeapplyServiceImpl implements ITssTracecodeapplyService {
|
|
|
}
|
|
|
public void packageSourcePeriodInfo(JSONObject result,List<TssSourceperiod> periods,String tid){
|
|
|
List<JSONObject> tssSourceperiodList = periods.stream().sorted(Comparator.comparing(TssSourceperiod::getSourceperiodFmstaskrcdcreateddate)).map(item->{
|
|
|
- List<SysRes> sysResList = sysResService.selectResByBusIdAndTid(item.getSourceperiodId(),ResConstants.BizType.PERIOD.getKey(),tid );
|
|
|
+ List<SysRes> sysResList = sysResService.selectResByBusIdAndTid(item.getSourceperiodId(),ResConstants.BizType.SOURCE_INFO_PERIOD.getKey(),tid );
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("id",item.getSourceperiodId());
|
|
|
jsonObject.put("date",item.getSourceperiodFmstaskrcdcreateddate());
|
|
|
@@ -420,7 +420,7 @@ public class TssTracecodeapplyServiceImpl implements ITssTracecodeapplyService {
|
|
|
}
|
|
|
public void packageGoodsPeriodInfo(JSONObject result,List<TssGoodsperiodrcd> periods,String tid){
|
|
|
List<JSONObject> tssSourceperiodList = periods.stream().sorted(Comparator.comparing(TssGoodsperiodrcd::getGoodsperiodrcdFmstaskcreateddate)).map(item->{
|
|
|
- List<SysRes> sysResList = sysResService.selectResByBusIdAndTid(item.getGoodsperiodrcdId(),ResConstants.BizType.PERIOD.getKey(),tid);
|
|
|
+ List<SysRes> sysResList = sysResService.selectResByBusIdAndTid(item.getGoodsperiodrcdId(),ResConstants.BizType.SOURCE_INFO_PERIOD.getKey(),tid);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("id",item.getGoodsperiodrcdId());
|
|
|
jsonObject.put("date",item.getGoodsperiodrcdFmstaskcreateddate());
|