|
@@ -3,12 +3,17 @@ package com.bizmatics.mhfire.controller.web;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.bizmatics.common.core.bean.ApiResult;
|
|
|
import com.bizmatics.common.core.bean.PageRequest;
|
|
|
+import com.bizmatics.common.core.util.BeanMapperUtils;
|
|
|
import com.bizmatics.mhfire.service.AjhgzService;
|
|
|
+import com.bizmatics.mhfire.service.vo.UnitMessageRequest;
|
|
|
+import com.bizmatics.mhfire.service.vo.WaterDetailRequest;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import ma.glasnost.orika.metadata.Type;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -26,10 +31,10 @@ public class AjhgzControllerWeb {
|
|
|
|
|
|
@GetMapping("ajhgzPage")
|
|
|
public ApiResult<Page<Map<String,Object>>> ajhgzPage(){
|
|
|
+
|
|
|
return ApiResult.success(ajhgzService.ajhgaPage(new PageRequest()));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
@GetMapping("hzdcHzsgsmjlAllPage")
|
|
|
public ApiResult<Page<Map<String,Object>>> hzdcHzsgsmjlAllPage(){
|
|
|
return ApiResult.success(ajhgzService.hzdcHzsgsmjlAllPage(new PageRequest()));
|
|
@@ -103,4 +108,12 @@ public class AjhgzControllerWeb {
|
|
|
public ApiResult<Page<Map<String,Object>>> xzxkXfajsbbPage(){
|
|
|
return ApiResult.success(ajhgzService.xzxkXfajsbbPage(new PageRequest()));
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ WaterDetailRequest waterDetailRequest = new WaterDetailRequest();
|
|
|
+ waterDetailRequest.setWaterAddress("!111");
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
+ map.put("waterAddress","1111111111");
|
|
|
+
|
|
|
+ }
|
|
|
}
|