|
@@ -611,11 +611,12 @@ public class YpTracCodgService {
|
|
|
if(null == list || list.isEmpty()){
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "没有销售退货数量,请检查!");
|
|
|
}
|
|
|
+ String type = list.get(0).getType();
|
|
|
List<SelinfoReturn> selinfoS = new ArrayList<>();
|
|
|
for(YpSelinfoSold yp : list){
|
|
|
SelinfoReturn pb = new SelinfoReturn();
|
|
|
yp.setIsTy("1");
|
|
|
- callYpCodgInfo(yp, "1");
|
|
|
+ callYpCodgInfo(yp, type);
|
|
|
BeanUtils.copyProperties(yp, pb);
|
|
|
selinfoS.add(pb);
|
|
|
}
|
|
@@ -642,7 +643,7 @@ public class YpTracCodgService {
|
|
|
}
|
|
|
for(YpSelinfoSold in : list){
|
|
|
if(in.getFixmedinsBchno().equals(fixmedinsBchno)){
|
|
|
- in.setUploadFlag(retRslt);
|
|
|
+ in.setUploadFlag("-2");
|
|
|
in.setMsgErr(m.get("msgRslt") == null ? "" : String.valueOf(m.get("msgRslt")));
|
|
|
in.setCreateTime(DateUtil.formatDate(new Date(), "yyyy-MM-dd HH:mm:ss"));
|
|
|
}
|