Commit 7b30400b by zhanghj

V1.2.0--查询订货单列表某个状态,不包含已取消的

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22044 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 2167407d
......@@ -79,12 +79,15 @@ public class IndentController extends BaseController{
logger.info("订货单列表搜索传递的参数:"+JSONObject.toJSONString(indent));
}
Integer indentStatus = indent.getIndentStatus();
/**
* 50定义为取消
*/
if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1);
indent.setIndentStatus(null);
} else {
indent.setIsCanceled(0);
}
Page page = new Page(pageIndex, pageSize);
List<SysIndent> list = indentService.getIndentListByPage(page, indent);
......@@ -223,6 +226,8 @@ public class IndentController extends BaseController{
if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1);
indent.setIndentStatus(null);
} else {
indent.setIsCanceled(0);
}
Page page = new Page(pageIndex, pageSize);
List<SysIndent> list = indentService.getIndentListByTerminalType(request, page, indent);
......@@ -263,6 +268,8 @@ public class IndentController extends BaseController{
if (indentStatus != null && 50 == indentStatus) {
indent.setIsCanceled(1);
indent.setIndentStatus(null);
} else {
indent.setIsCanceled(0);
}
Page page = new Page(pageIndex, pageSize);
List<SysIndent> list = indentService.getMechanicIndentListByPage(request, page, indent);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!