mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
bugfix
This commit is contained in:
@@ -8,8 +8,6 @@ import cn.lihongjie.coal.coalAnalysis.dto.CoalAnalysisDto;
|
||||
import cn.lihongjie.coal.coalAnalysis.dto.CreateCoalAnalysisDto;
|
||||
import cn.lihongjie.coal.coalAnalysis.dto.UpdateCoalAnalysisDto;
|
||||
import cn.lihongjie.coal.coalAnalysis.service.CoalAnalysisService;
|
||||
import java.lang.Object;
|
||||
import java.lang.String;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Page;
|
||||
@@ -48,11 +46,13 @@ public class CoalAnalysisController {
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/getById")
|
||||
public CoalAnalysisDto getById(@RequestBody String request) {
|
||||
return this.service.getById(request)
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/list")
|
||||
public Page<CoalAnalysisDto> list(@RequestBody CommonQuery request) {
|
||||
return this.service.list(request)
|
||||
;
|
||||
|
||||
@@ -8,8 +8,6 @@ import cn.lihongjie.coal.coalInfo.dto.CoalInfoDto;
|
||||
import cn.lihongjie.coal.coalInfo.dto.CreateCoalInfoDto;
|
||||
import cn.lihongjie.coal.coalInfo.dto.UpdateCoalInfoDto;
|
||||
import cn.lihongjie.coal.coalInfo.service.CoalInfoService;
|
||||
import java.lang.Object;
|
||||
import java.lang.String;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Page;
|
||||
@@ -47,12 +45,13 @@ public class CoalInfoController {
|
||||
return true
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/getById")
|
||||
public CoalInfoDto getById(@RequestBody String request) {
|
||||
return this.service.getById(request)
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/list")
|
||||
public Page<CoalInfoDto> list(@RequestBody CommonQuery request) {
|
||||
return this.service.list(request)
|
||||
;
|
||||
|
||||
@@ -8,8 +8,6 @@ import cn.lihongjie.coal.coalPrice.dto.CoalPriceDto;
|
||||
import cn.lihongjie.coal.coalPrice.dto.CreateCoalPriceDto;
|
||||
import cn.lihongjie.coal.coalPrice.dto.UpdateCoalPriceDto;
|
||||
import cn.lihongjie.coal.coalPrice.service.CoalPriceService;
|
||||
import java.lang.Object;
|
||||
import java.lang.String;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Page;
|
||||
@@ -48,11 +46,12 @@ public class CoalPriceController {
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/getById")
|
||||
public CoalPriceDto getById(@RequestBody String request) {
|
||||
return this.service.getById(request)
|
||||
;
|
||||
}
|
||||
|
||||
@PostMapping("/list")
|
||||
public Page<CoalPriceDto> list(@RequestBody CommonQuery request) {
|
||||
return this.service.list(request)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user