|
|
@ -19,7 +19,7 @@ import java.util.Map; |
|
|
|
* @since 2023-03-23 08:39:46 |
|
|
|
* @since 2023-03-23 08:39:46 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@RestController |
|
|
|
@RestController |
|
|
|
@RequestMapping("emailMaintain") |
|
|
|
@RequestMapping("/emailMaintain") |
|
|
|
public class EmailMaintainController extends AbstractController { |
|
|
|
public class EmailMaintainController extends AbstractController { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 服务对象 |
|
|
|
* 服务对象 |
|
|
@ -33,10 +33,10 @@ public class EmailMaintainController extends AbstractController { |
|
|
|
* @param pramsMap 筛选条件 |
|
|
|
* @param pramsMap 筛选条件 |
|
|
|
* @return 查询结果 |
|
|
|
* @return 查询结果 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@GetMapping("/queryByPage") |
|
|
|
@PostMapping("/queryByPage") |
|
|
|
public ResponseEntity<R> queryByPage(@RequestBody Map<String, Object> pramsMap) { |
|
|
|
public ResponseEntity<R> queryByPage(@RequestBody Map<String, Object> pramsMap) { |
|
|
|
// 入参统一在入口处理
|
|
|
|
// 入参统一在入口处理
|
|
|
|
pramsMap.put("dbName", getUserInfo().getDbName()); |
|
|
|
// pramsMap.put("dbName", getUserInfo().getDbName());
|
|
|
|
// List<String> gfshList = new ArrayList<>();
|
|
|
|
// List<String> gfshList = new ArrayList<>();
|
|
|
|
// if (!"99".equals(pramsMap.get("gfsh")) && pramsMap.get("gfsh") != null && !"".equals(pramsMap.get("gfsh"))) {
|
|
|
|
// if (!"99".equals(pramsMap.get("gfsh")) && pramsMap.get("gfsh") != null && !"".equals(pramsMap.get("gfsh"))) {
|
|
|
|
// gfshList.add(pramsMap.get("gfsh").toString());
|
|
|
|
// gfshList.add(pramsMap.get("gfsh").toString());
|
|
|
@ -81,7 +81,7 @@ public class EmailMaintainController extends AbstractController { |
|
|
|
* @return 编辑结果 |
|
|
|
* @return 编辑结果 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping("/edit") |
|
|
|
@PostMapping("/edit") |
|
|
|
public ResponseEntity<R> edit(EmailMaintainVo emailMaintain) { |
|
|
|
public ResponseEntity<R> edit(@RequestBody EmailMaintainVo emailMaintain) { |
|
|
|
boolean b = emailMaintainService.update(emailMaintain); |
|
|
|
boolean b = emailMaintainService.update(emailMaintain); |
|
|
|
if(b){ |
|
|
|
if(b){ |
|
|
|
return ResponseEntity.ok(R.ok()); |
|
|
|
return ResponseEntity.ok(R.ok()); |
|
|
|