Commit 59b71215 by 高晓磊

修改一下返回状态,之前放到message里边了

parent 1323fe51
......@@ -58,7 +58,7 @@ public class SandMiningController {
}
List<KObject> a = sandMiningService.getListByShipAndWorkDate(kobject);
if(a.size()>0){
return ResponseObj.error("500", "该许可证下的船只许可时间与已有数据交叉,请选择其他船只");
return ResponseObj.error(500, "该许可证下的船只许可时间与已有数据交叉,请选择其他船只");
}
UUID id = sandMiningService.addSandMining(kobject);
return ResponseObj.success("保存成功", id);
......
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