Browse Source

催收措施模块开发

挂车推送金蝶销售出库单失败问题优化
master
God 1 year ago
parent
commit
18145120a4
  1. 4
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehicleout/BaseVehicleOutService.java
  2. 6
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbecollectionapply/LoanBeCollectionApplyService.java

4
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehicleout/BaseVehicleOutService.java

@ -1854,9 +1854,9 @@ public class BaseVehicleOutService extends MybatisBaseService<BaseVehicleOutMapp
if ("002".equals(dto.getMaterialTypeKey())) {
//挂车物料编码
if ("G".equals(dto.getMaterialCode().substring(dto.getMaterialCode().length() - 1))) {
fEntity.setFMaterialID(dto.getMaterialCode());
fEntity.setFMaterialID(dto.getMaterialCode().substring(dto.getMaterialCode().length() - 9));
} else {
fEntity.setFMaterialID(dto.getMaterialCode() + "G");
fEntity.setFMaterialID(dto.getMaterialCode().substring(dto.getMaterialCode().length() - 8) + "G");
}
} else if ("003".equals(dto.getMaterialTypeKey())) {
//上装物料编码

6
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbecollectionapply/LoanBeCollectionApplyService.java

@ -293,6 +293,12 @@ public class LoanBeCollectionApplyService extends MybatisBaseService<LoanBeColle
}
LoanBeCollectionApply entity = fetchBySid(dtoSid);
BeanUtil.copyProperties(dto, entity, "id", "sid");
List<String> collMeasures = dto.getCollMeasures();
String collMeasureSpan = "";
for (String collMeasure : collMeasures) {
collMeasureSpan = collMeasureSpan + collMeasure + ",";
}
entity.setCollMeasure(collMeasureSpan.substring(0, collMeasureSpan.lastIndexOf(",")));
baseMapper.updateById(entity);
}

Loading…
Cancel
Save