|
|
@@ -300,7 +300,11 @@ public class Order extends Controller {
|
|
|
content.put("sys_enterpriseid", sys_enterpriseid);
|
|
|
content.put("type", type);
|
|
|
|
|
|
- new OrderItems(content).insertOrUpdate();
|
|
|
+ String result = new OrderItems(content).insertOrUpdate();
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(result);
|
|
|
+ if(!jsonObject.getString("msg").equals("成功")){
|
|
|
+ return result;
|
|
|
+ }
|
|
|
|
|
|
ArrayList<String> sqlList = new ArrayList<>();
|
|
|
|