|
|
@@ -198,6 +198,7 @@ public class GoodsController {
|
|
|
SystemBean systemBean = systemRepository.findSystemBean();
|
|
|
if (systemBean != null && systemBean.isRestMode) {
|
|
|
responseResult.setMessage("休息时间到");
|
|
|
+ responseResult.setCode(ResultCode.REST_TIME);
|
|
|
return JSON.toJSONString(responseResult);
|
|
|
}
|
|
|
|
|
|
@@ -259,6 +260,7 @@ public class GoodsController {
|
|
|
SystemBean systemBean = systemRepository.findSystemBean();
|
|
|
if (systemBean != null && systemBean.isRestMode) {
|
|
|
responseResult.setMessage("休息时间到");
|
|
|
+ responseResult.setCode(ResultCode.REST_TIME);
|
|
|
return JSON.toJSONString(responseResult);
|
|
|
}
|
|
|
|
|
|
@@ -348,6 +350,7 @@ public class GoodsController {
|
|
|
SystemBean systemBean = systemRepository.findSystemBean();
|
|
|
if (systemBean != null && systemBean.isRestMode) {
|
|
|
responseResult.setMessage("休息时间到");
|
|
|
+ responseResult.setCode(ResultCode.REST_TIME);
|
|
|
return JSON.toJSONString(responseResult);
|
|
|
}
|
|
|
|