Commit 5ef94356 by zhanghj

V1.4.0--取消订货单增加限制,审核通过后不能取消

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23844 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 28c60dc7
...@@ -424,7 +424,7 @@ public class IndentServiceImpl implements IndentService { ...@@ -424,7 +424,7 @@ public class IndentServiceImpl implements IndentService {
if (indent != null) { if (indent != null) {
Integer indentStatus = indent.getIndentStatus(); Integer indentStatus = indent.getIndentStatus();
if (indentStatus > IndentStatusEnum.INDENT_UNCHECKED.getIndentStatus()) { if (indentStatus > IndentStatusEnum.INDENT_UNCHECKED.getIndentStatus()) {
return new ResultObject(ResultCodeEnum.INDENT_CAN_NOT_CANCEL.getCode(), ResultCodeEnum.INDENT_COMPLETE_CANNOT_CANCEL.getMsg()); return new ResultObject(ResultCodeEnum.INDENT_CAN_NOT_CANCEL.getCode(), ResultCodeEnum.INDENT_CAN_NOT_CANCEL.getMsg());
} }
SysIndent sysIndent = new SysIndent(); SysIndent sysIndent = new SysIndent();
sysIndent.setId(id);; sysIndent.setId(id);;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!