|
|
@@ -26,6 +26,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import oracle.jdbc.proxy.annotation.Post;
|
|
|
import org.apache.log4j.LogManager;
|
|
|
import org.apache.log4j.Logger;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -120,6 +121,26 @@ throw new MarkerMetException(500, "操作异常!!");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "APP获取列表", notes = "分页模糊查询")
|
|
|
+ @PostMapping(value = "/ApplikeByDesc")
|
|
|
+ public RESTfulResult ApplikeByDesc(@RequestBody HashMap params) {
|
|
|
+ RESTfulResult rm = failed();
|
|
|
+ rm.setCode("500");
|
|
|
+ try {
|
|
|
+ int pageNum01 = params.get("pageNum") == null ? 1 : Integer.parseInt(params.get("pageNum").toString());
|
|
|
+ int pageSize01 = params.get("pagesize") == null ? 20 : Integer.parseInt(params.get("pagesize").toString());
|
|
|
+ if(params.get("carNo")==null || params.get("carNo") != null && StringUtils.isEmpty(params.get("carNo").toString())) {
|
|
|
+ rm.setMessage("车号参数为空,不能进行查询!!");
|
|
|
+ return rm;
|
|
|
+ }
|
|
|
+ PageList<MeterWorkCarActual> list = meterWorkCarActualService.likeByDesc(params, pageNum01, pageSize01);
|
|
|
+ return success(list);
|
|
|
+ } catch (Exception ex) {
|
|
|
+ ex.printStackTrace();
|
|
|
+ throw new MarkerMetException(500, "操作异常!!");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "远程-获取列表", notes = "分页模糊查询")
|
|
|
@PostMapping(value = "/likeByDesc/")
|
|
|
public RESTfulResult likeByDesc01(@RequestBody CommonPage<HashMap> oci) {
|