Commit 1eb3847a by 杨清松

提交

parent 8c977963
......@@ -57,6 +57,7 @@ public class ArtificialRechargeServiceImpl implements ArtificialRechargeService
warn.warn();
return ResponseObj.success();
} catch (Exception e) {
e.printStackTrace();
return ResponseObj.error();
}
......
......@@ -258,10 +258,10 @@ public class SalesPlanServiceImpl implements SalesPlanService {
JSONArray jsonArray = jsonObject.getJSONArray("salesPlanDetails");
//校验逻辑
if (!jsonObject.isNull("isCommit") && jsonObject.getInt("isCommit") == 1) {
List<Map<String, Object>> submitSalesPlanVerifyList = submitSalesPlanVerify(salesPlanId, jsonArray);
if (submitSalesPlanVerifyList.size() > 0) {
return submitSalesPlanVerifyList;
}
// List<Map<String, Object>> submitSalesPlanVerifyList = submitSalesPlanVerify(salesPlanId, jsonArray);
// if (submitSalesPlanVerifyList.size() > 0) {
// return submitSalesPlanVerifyList;
// }
//改状态
kObject.set("approveState", 1);
}
......
......@@ -137,9 +137,9 @@ public class SalesPlanController {
JSONObject jsonObject = new JSONObject(body);
try {
List<Map<String, Object>> list = salesPlanService.modify(jsonObject);
if(list != null && list.size() > 0) {
return ResponseObj.error("操作失败", list);
}
// if(list != null && list.size() > 0) {
// return ResponseObj.error("操作失败", list);
// }
return ResponseObj.success("操作成功", null);
} catch(Exception e) {
e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment