|
@@ -5,16 +5,19 @@ import java.text.SimpleDateFormat;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
+
|
|
import javax.persistence.criteria.CriteriaBuilder;
|
|
import javax.persistence.criteria.CriteriaBuilder;
|
|
|
|
+import javax.persistence.criteria.CriteriaBuilder.In;
|
|
import javax.persistence.criteria.CriteriaQuery;
|
|
import javax.persistence.criteria.CriteriaQuery;
|
|
import javax.persistence.criteria.Predicate;
|
|
import javax.persistence.criteria.Predicate;
|
|
import javax.persistence.criteria.Root;
|
|
import javax.persistence.criteria.Root;
|
|
-import javax.persistence.criteria.CriteriaBuilder.In;
|
|
|
|
import javax.servlet.ServletOutputStream;
|
|
import javax.servlet.ServletOutputStream;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
+
|
|
import net.sf.json.JSONArray;
|
|
import net.sf.json.JSONArray;
|
|
import net.sf.json.JSONObject;
|
|
import net.sf.json.JSONObject;
|
|
|
|
+
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Page;
|
|
@@ -23,7 +26,9 @@ import org.springframework.stereotype.Controller;
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
+
|
|
import cache.CacheSearchCondition;
|
|
import cache.CacheSearchCondition;
|
|
|
|
+
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
import com.xt.jygl.common.BaseWebCtl;
|
|
import com.xt.jygl.common.BaseWebCtl;
|
|
import com.xt.jygl.common.Constants;
|
|
import com.xt.jygl.common.Constants;
|
|
@@ -354,6 +359,7 @@ public class RyCtl extends BaseWebCtl {
|
|
// 修改
|
|
// 修改
|
|
if (!StringUtils.isEmpty(code.getId())) {
|
|
if (!StringUtils.isEmpty(code.getId())) {
|
|
entity = ryService.findOne(code.getId());
|
|
entity = ryService.findOne(code.getId());
|
|
|
|
+ entity.setTbzt(Constants.NO);
|
|
}
|
|
}
|
|
entity.setXm(code.getXm());
|
|
entity.setXm(code.getXm());
|
|
entity.setZwhzc(code.getZwhzc());
|
|
entity.setZwhzc(code.getZwhzc());
|
|
@@ -423,6 +429,7 @@ public class RyCtl extends BaseWebCtl {
|
|
if (!StringUtils.isEmpty(code.getId())) {
|
|
if (!StringUtils.isEmpty(code.getId())) {
|
|
|
|
|
|
RyzsEntity entity = ryzsService.findOne(code.getId());
|
|
RyzsEntity entity = ryzsService.findOne(code.getId());
|
|
|
|
+ entity.setTbzt(Constants.NO);
|
|
entity.setZsmc(code.getZsmc());
|
|
entity.setZsmc(code.getZsmc());
|
|
entity.setZsbh(code.getZsbh());
|
|
entity.setZsbh(code.getZsbh());
|
|
entity.setFzbm(code.getFzbm());
|
|
entity.setFzbm(code.getFzbm());
|