|
@@ -2531,6 +2531,9 @@ public class AddRepairBusinessServiceImpl implements AddRepairBusinessService {
|
|
mxreq.setSynReqId(Long.valueOf(rec.getSynReqId()));
|
|
mxreq.setSynReqId(Long.valueOf(rec.getSynReqId()));
|
|
mxreq.setBrandId(brand.getBrandId());
|
|
mxreq.setBrandId(brand.getBrandId());
|
|
OrderProduct op = repairMxDownloadMapper.getMx(mxreq);
|
|
OrderProduct op = repairMxDownloadMapper.getMx(mxreq);
|
|
|
|
+ if (op.getNum() == null || op.getNum() == 0){
|
|
|
|
+ op.setNum(1);
|
|
|
|
+ }
|
|
|
|
|
|
// 改成 product 表中的 product_id
|
|
// 改成 product 表中的 product_id
|
|
if (productMap.containsKey(op.getProductId())){
|
|
if (productMap.containsKey(op.getProductId())){
|
|
@@ -2704,6 +2707,9 @@ public class AddRepairBusinessServiceImpl implements AddRepairBusinessService {
|
|
ItfTblAssignMxDownload rec, OrderPar mxreq, Map<String,String> productMap) {
|
|
ItfTblAssignMxDownload rec, OrderPar mxreq, Map<String,String> productMap) {
|
|
WebsitFWS websitFWS = new WebsitFWS();
|
|
WebsitFWS websitFWS = new WebsitFWS();
|
|
OrderProduct op = repairMxDownloadMapper.getMx(mxreq);
|
|
OrderProduct op = repairMxDownloadMapper.getMx(mxreq);
|
|
|
|
+ if (op.getNum() == null || op.getNum() == 0){
|
|
|
|
+ op.setNum(1);
|
|
|
|
+ }
|
|
|
|
|
|
// 改成 product 表中的 product_id
|
|
// 改成 product 表中的 product_id
|
|
if (productMap.containsKey(op.getProductId())){
|
|
if (productMap.containsKey(op.getProductId())){
|