|
@@ -1465,8 +1465,7 @@ public class StoreOrderScrmController extends AppBaseController {
|
|
|
Map<Long, Long> prescriptionCountMap = orderService.batchGetPrescriptionDrugCount(orderIds);
|
|
Map<Long, Long> prescriptionCountMap = orderService.batchGetPrescriptionDrugCount(orderIds);
|
|
|
if(prescriptionCountMap != null){
|
|
if(prescriptionCountMap != null){
|
|
|
for (FsStoreOrderScrm order : orders) {
|
|
for (FsStoreOrderScrm order : orders) {
|
|
|
- System.out.println(prescriptionCountMap.containsKey(BigInteger.valueOf(order.getId())));
|
|
|
|
|
- if (prescriptionCountMap.containsKey(BigInteger.valueOf(order.getId())) && (order.getIsPrescribe() == null || order.getIsPrescribe() < 1)) {
|
|
|
|
|
|
|
+ if (prescriptionCountMap.containsKey(BigInteger.valueOf(order.getId())) && order.getPrescribeId() == null) {
|
|
|
return "处方订单未开具,无法支付!";
|
|
return "处方订单未开具,无法支付!";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|