瀏覽代碼

git-svn-id: https://192.168.57.71/svn/jsgkj@1407 931142cf-59ea-a443-aa0e-51397b428577

ld_xuhx 8 年之前
父節點
當前提交
4dcc337222
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      gkjsjy/trunk/src/com/xt/jygl/gkjygl/gkjyr/zxjx/ctl/ZxjxCtl.java

+ 6 - 0
gkjsjy/trunk/src/com/xt/jygl/gkjygl/gkjyr/zxjx/ctl/ZxjxCtl.java

@@ -3,6 +3,7 @@ package com.xt.jygl.gkjygl.gkjyr.zxjx.ctl;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
+
 import javax.persistence.criteria.CriteriaBuilder;
 import javax.persistence.criteria.CriteriaQuery;
 import javax.persistence.criteria.Predicate;
@@ -11,7 +12,9 @@ import javax.persistence.criteria.CriteriaBuilder.In;
 import javax.servlet.ServletOutputStream;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
+
 import net.sf.json.JSONObject;
+
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.data.domain.Page;
@@ -20,6 +23,7 @@ import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.ResponseBody;
+
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.xt.jygl.common.BaseWebCtl;
 import com.xt.jygl.common.Constants;
@@ -119,6 +123,7 @@ public class ZxjxCtl extends BaseWebCtl{
 					}
 				}
 				list.add(cb.notEqual(root.get("recordStatus").as(Integer.class), BaseEntity.RECORD_STATE_DELETE));
+				list.add(cb.notEqual(root.get("recordStatus").as(Integer.class), BaseEntity.RECORE_STATE_COPY));
 				return cb.and(list.toArray(new Predicate[] {}));
 			}
 		};
@@ -521,6 +526,7 @@ public class ZxjxCtl extends BaseWebCtl{
 					}
 				}
 				list.add(cb.notEqual(root.get("recordStatus").as(Integer.class), BaseEntity.RECORD_STATE_DELETE));
+				list.add(cb.notEqual(root.get("recordStatus").as(Integer.class), BaseEntity.RECORE_STATE_COPY));
 				return cb.and(list.toArray(new Predicate[] {}));
 			}
 		};