|
@@ -155,6 +155,8 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
|
|
|
studentGoodsSell.setOrganId(student.getOrganId());
|
|
|
studentGoodsSell.setTotalAmount(amount);
|
|
|
studentGoodsSell.setGoodsJson(JSONObject.toJSONString(goodsSellDtos));
|
|
|
+ String orderNo = idGeneratorService.generatorId("payment") + "";
|
|
|
+ studentGoodsSell.setOrderNo(orderNo);
|
|
|
studentGoodsSellDao.insert(studentGoodsSell);
|
|
|
|
|
|
if (studentGoodsSell.getType() == 1) {
|
|
@@ -162,7 +164,7 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
|
|
|
MapUtil.populateMap(repairInfoMap, studentGoodsSell);
|
|
|
return repairInfoMap;
|
|
|
}
|
|
|
- String orderNo = idGeneratorService.generatorId("payment") + "";
|
|
|
+
|
|
|
StudentPaymentOrder studentPaymentOrder = new StudentPaymentOrder();
|
|
|
studentPaymentOrder.setUserId(studentId);
|
|
|
studentPaymentOrder.setGroupType(GroupType.GOODS_SELL);
|