代码优化

master
erzhongxmu 2023-04-15 09:49:35 +08:00
parent 43abaae541
commit ec99a1ec2f
1 changed files with 4 additions and 32 deletions

View File

@ -205,14 +205,7 @@ public class wmBaseController extends BaseController {
@RequestMapping(value = "geterpim", method = RequestMethod.GET) @RequestMapping(value = "geterpim", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResponseEntity<?> listim(@RequestParam(value = "username", required = false) String username, public ResponseEntity<?> listim() {
@RequestParam(value = "all", required = false) String all,
@RequestParam(value = "searchstr", required = false) String searchstr,
@RequestParam(value = "searchstr2", required = false) String searchstr2,
@RequestParam(value = "searchstrin1", required = false) String searchstrin1,
@RequestParam(value = "searchstrin2", required = false) String searchstrin2,
@RequestParam(value = "searchstrin3", required = false) String searchstrin3) {
ResultDO D0 = new ResultDO(); ResultDO D0 = new ResultDO();
@ -230,14 +223,7 @@ public class wmBaseController extends BaseController {
@RequestMapping(value = "geterpom", method = RequestMethod.GET) @RequestMapping(value = "geterpom", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResponseEntity<?> listom(@RequestParam(value = "username", required = false) String username, public ResponseEntity<?> listom() {
@RequestParam(value = "all", required = false) String all,
@RequestParam(value = "searchstr", required = false) String searchstr,
@RequestParam(value = "searchstr2", required = false) String searchstr2,
@RequestParam(value = "searchstrin1", required = false) String searchstrin1,
@RequestParam(value = "searchstrin2", required = false) String searchstrin2,
@RequestParam(value = "searchstrin3", required = false) String searchstrin3) {
ResultDO D0 = new ResultDO(); ResultDO D0 = new ResultDO();
@ -255,14 +241,7 @@ public class wmBaseController extends BaseController {
@RequestMapping(value = "runtask", method = RequestMethod.GET) @RequestMapping(value = "runtask", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResponseEntity<?> runtask(@RequestParam(value = "username", required = false) String username, public ResponseEntity<?> runtask() {
@RequestParam(value = "all", required = false) String all,
@RequestParam(value = "searchstr", required = false) String searchstr,
@RequestParam(value = "searchstr2", required = false) String searchstr2,
@RequestParam(value = "searchstrin1", required = false) String searchstrin1,
@RequestParam(value = "searchstrin2", required = false) String searchstrin2,
@RequestParam(value = "searchstrin3", required = false) String searchstrin3) {
ResultDO D0 = new ResultDO(); ResultDO D0 = new ResultDO();
@ -273,14 +252,7 @@ public class wmBaseController extends BaseController {
//结转库存 //结转库存
@RequestMapping(value = "runtaskone", method = RequestMethod.GET) @RequestMapping(value = "runtaskone", method = RequestMethod.GET)
@ResponseBody @ResponseBody
public ResponseEntity<?> runtaskone(@RequestParam(value = "username", required = false) String username, public ResponseEntity<?> runtaskone() {
@RequestParam(value = "all", required = false) String all,
@RequestParam(value = "searchstr", required = false) String searchstr,
@RequestParam(value = "searchstr2", required = false) String searchstr2,
@RequestParam(value = "searchstrin1", required = false) String searchstrin1,
@RequestParam(value = "searchstrin2", required = false) String searchstrin2,
@RequestParam(value = "searchstrin3", required = false) String searchstrin3) {
ResultDO D0 = new ResultDO(); ResultDO D0 = new ResultDO();