|
@@ -494,6 +494,11 @@ public class BmstruckDetailsOrderController extends BaseRESTfulController {
|
|
public RESTfulResult updateDetailsStatus(@RequestBody Map<String,Object> map) {
|
|
public RESTfulResult updateDetailsStatus(@RequestBody Map<String,Object> map) {
|
|
List<Integer> mapList = (List<Integer>)map.get("orderList");
|
|
List<Integer> mapList = (List<Integer>)map.get("orderList");
|
|
List<Map<String,Object>> amsPriceList = (List<Map<String, Object>>) map.get("amsPriceList");
|
|
List<Map<String,Object>> amsPriceList = (List<Map<String, Object>>) map.get("amsPriceList");
|
|
|
|
+ if (map.get("updateStatus") != null && DataChange.dataToBigDecimal(map.get("updateStatus")).compareTo(new BigDecimal(1)) == 0){
|
|
|
|
+ //取消确认
|
|
|
|
+ int i = bmstruckDetailsOrderService.cancelMakeSure(mapList);
|
|
|
|
+ return success(i);
|
|
|
|
+ }
|
|
if (amsPriceList.size()>0){
|
|
if (amsPriceList.size()>0){
|
|
bmstruckDetailsOrderService.insertPriceValue(amsPriceList);
|
|
bmstruckDetailsOrderService.insertPriceValue(amsPriceList);
|
|
}
|
|
}
|