1.修复三月滚动计划管理导入失败的问题

master
董哲奇 1 year ago
parent edb2743304
commit 6545f4eeb3

@ -66,11 +66,11 @@ public class SyExcel implements Serializable {
@ApiModelProperty(value = "订货板数")
@ExcelProperty(index = 10)
private Double orderBs;
private String orderBs;
@ApiModelProperty(value = "到货板数")
@ExcelProperty(index = 11)
private Double arrivalBs;
private String arrivalBs;
@ApiModelProperty(value = "套料图板数")
@ExcelProperty(index = 12)
@ -94,7 +94,7 @@ public class SyExcel implements Serializable {
@ApiModelProperty(value = "型材抛丸")
@ExcelProperty(index = 17)
private Double xcpwSl;
private String xcpwSl;
@ApiModelProperty(value = "型材抛丸时间")
@ExcelProperty(index = 18)

@ -1542,7 +1542,7 @@ public class BomUploadServiceImpl {
System.out.println("e.getWpggZ().split(\"\\\\*\")[0] = " + e.getWpggZ().split("\\*")[0]);
System.out.println("e.getWpggZ().split(\"\\\\*\")[0] = " + e.getWpggZ());
dmBom.setBh(new BigDecimal(e.getWpggZ().split("\\*")[0]));
xiiu if (e.getWpggZ().split("\\*").length>2){
if (e.getWpggZ().split("\\*").length>2){
dmBom.setBc(new BigDecimal(e.getWpggZ().split("\\*")[2]));
}

@ -73,9 +73,10 @@ public class DmSygdServiceImpl extends ServiceImpl<DmSygdMapper, DmSygd> impleme
BeanUtil.copyProperties(q,a);
// a.setBzry((String) req.getAttribute("yhms"));
// a.setBzrq(DateUtil.format(DateUtil.date(), "yyyy/MM/dd"));
a.setGdZt("0");//状态转码
listForSave.add(a);
}
this.updateBatchById(listForSave);
this.saveOrUpdateBatch(listForSave);
return null;
}

Loading…
Cancel
Save