Commit 8cf277be by zhanghj

V1.2.0--修复订货单全部状态时,取消订单未展示bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22063 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 0fcd7b36
...@@ -86,7 +86,7 @@ public class IndentController extends BaseController{ ...@@ -86,7 +86,7 @@ public class IndentController extends BaseController{
if (indentStatus != null && 50 == indentStatus) { if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1); indent.setIsCanceled(1);
indent.setIndentStatus(null); indent.setIndentStatus(null);
} else { } else if (indentStatus != null) {
indent.setIsCanceled(0); indent.setIsCanceled(0);
} }
Page page = new Page(pageIndex, pageSize); Page page = new Page(pageIndex, pageSize);
...@@ -226,7 +226,7 @@ public class IndentController extends BaseController{ ...@@ -226,7 +226,7 @@ public class IndentController extends BaseController{
if (indentStatus != null && 50 == indentStatus) { if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1); indent.setIsCanceled(1);
indent.setIndentStatus(null); indent.setIndentStatus(null);
} else { } else if (indentStatus != null) {
indent.setIsCanceled(0); indent.setIsCanceled(0);
} }
Page page = new Page(pageIndex, pageSize); Page page = new Page(pageIndex, pageSize);
...@@ -268,7 +268,7 @@ public class IndentController extends BaseController{ ...@@ -268,7 +268,7 @@ public class IndentController extends BaseController{
if (indentStatus != null && 50 == indentStatus) { if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1); indent.setIsCanceled(1);
indent.setIndentStatus(null); indent.setIndentStatus(null);
} else { } else if (indentStatus != null) {
indent.setIsCanceled(0); indent.setIsCanceled(0);
} }
Page page = new Page(pageIndex, pageSize); Page page = new Page(pageIndex, pageSize);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!