|
|
@@ -11,9 +11,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.jeesite.common.lang.ObjectUtils;
|
|
|
import com.jeesite.common.lang.StringUtils;
|
|
|
import com.jeesite.modules.mes.entity.MesProductQmwy;
|
|
|
-import com.jeesite.modules.mes.req.MesSearchDateReq;
|
|
|
import com.jeesite.modules.mes.resp.CommonResp;
|
|
|
-import com.jeesite.modules.mes.util.CommonUitl;
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
import org.apache.tomcat.util.codec.binary.Base64;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -64,9 +62,6 @@ public class MesProductQmController extends BaseController {
|
|
|
@RequiresPermissions("mes:mesProductQm:view")
|
|
|
@RequestMapping(value = {"list", ""})
|
|
|
public String list(MesProductQm mesProductQm, Model model) {
|
|
|
- MesSearchDateReq dateMap = CommonUitl.getSearchDate();
|
|
|
- mesProductQm.setTestTime_gte(dateMap.getStartDate());
|
|
|
- mesProductQm.setTestTime_lte(dateMap.getEndtDate());
|
|
|
mesProductQm.setOprno("OP160");
|
|
|
model.addAttribute("mesProductQm", mesProductQm);
|
|
|
return "modules/mes/mesProductQmList";
|
|
|
@@ -74,9 +69,6 @@ public class MesProductQmController extends BaseController {
|
|
|
@RequiresPermissions("mes:mesProductQm:view")
|
|
|
@RequestMapping(value = {"list2", ""})
|
|
|
public String list2(MesProductQm mesProductQm, Model model) {
|
|
|
- MesSearchDateReq dateMap = CommonUitl.getSearchDate();
|
|
|
- mesProductQm.setTestTime_gte(dateMap.getStartDate());
|
|
|
- mesProductQm.setTestTime_lte(dateMap.getEndtDate());
|
|
|
mesProductQm.setOprno("OP165");
|
|
|
model.addAttribute("mesProductQm", mesProductQm);
|
|
|
return "modules/mes/mesProductQmList";
|
|
|
@@ -84,9 +76,6 @@ public class MesProductQmController extends BaseController {
|
|
|
@RequiresPermissions("mes:mesProductQm:view")
|
|
|
@RequestMapping(value = {"list3", ""})
|
|
|
public String list3(MesProductQm mesProductQm, Model model) {
|
|
|
- MesSearchDateReq dateMap = CommonUitl.getSearchDate();
|
|
|
- mesProductQm.setTestTime_gte(dateMap.getStartDate());
|
|
|
- mesProductQm.setTestTime_lte(dateMap.getEndtDate());
|
|
|
mesProductQm.setOprno("OP235");
|
|
|
model.addAttribute("mesProductQm", mesProductQm);
|
|
|
return "modules/mes/mesProductQmList";
|
|
|
@@ -94,9 +83,6 @@ public class MesProductQmController extends BaseController {
|
|
|
@RequiresPermissions("mes:mesProductQm:view")
|
|
|
@RequestMapping(value = {"list5", ""})
|
|
|
public String list5(MesProductQm mesProductQm, Model model) {
|
|
|
- MesSearchDateReq dateMap = CommonUitl.getSearchDate();
|
|
|
- mesProductQm.setTestTime_gte(dateMap.getStartDate());
|
|
|
- mesProductQm.setTestTime_lte(dateMap.getEndtDate());
|
|
|
mesProductQm.setOprno("OP210");
|
|
|
model.addAttribute("mesProductQm", mesProductQm);
|
|
|
return "modules/mes/mesProductQmList";
|