|
|
|
@ -115,23 +115,23 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
|
|
|
|
|
proOrder.setProdDesc("");
|
|
|
|
|
proWhiteOrderMapper.insertProOrder(proOrder);
|
|
|
|
|
|
|
|
|
|
System.out.println("源code---->"+proOrder.getProdCode());
|
|
|
|
|
System.out.println("源desc---->"+proOrder.getProdDesc());
|
|
|
|
|
|
|
|
|
|
System.out.println("code---------->");
|
|
|
|
|
for (String code : prodCodes) {
|
|
|
|
|
System.out.println(code);
|
|
|
|
|
}
|
|
|
|
|
System.out.println("desc----------->");
|
|
|
|
|
for (String desc : prodDescs) {
|
|
|
|
|
System.out.println(desc);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
System.out.println("这里是母订单信息");
|
|
|
|
|
System.out.println("母订单code"+proOrder.getOrderCode());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println("这里是子订单信息");
|
|
|
|
|
// System.out.println("源code---->"+proOrder.getProdCode());
|
|
|
|
|
// System.out.println("源desc---->"+proOrder.getProdDesc());
|
|
|
|
|
//
|
|
|
|
|
// System.out.println("code---------->");
|
|
|
|
|
// for (String code : prodCodes) {
|
|
|
|
|
// System.out.println(code);
|
|
|
|
|
// }
|
|
|
|
|
// System.out.println("desc----------->");
|
|
|
|
|
// for (String desc : prodDescs) {
|
|
|
|
|
// System.out.println(desc);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// System.out.println("这里是母订单信息");
|
|
|
|
|
// System.out.println("母订单code"+proOrder.getOrderCode());
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// System.out.println("这里是子订单信息");
|
|
|
|
|
|
|
|
|
|
// 设置子订单信息
|
|
|
|
|
for (int i = 0; i< prodCodes.length; i++){
|
|
|
|
@ -159,8 +159,8 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
|
|
|
|
|
// 将子订单插入数据库
|
|
|
|
|
proWhiteOrderMapper.insertProOrder(childProOrder);
|
|
|
|
|
|
|
|
|
|
System.out.println("子订单code"+i+childProOrder.getOrderCode());
|
|
|
|
|
System.out.println("子订单parentCode"+i+childProOrder.getParentOrder());
|
|
|
|
|
// System.out.println("子订单code"+i+childProOrder.getOrderCode());
|
|
|
|
|
// System.out.println("子订单parentCode"+i+childProOrder.getParentOrder());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
|