|
@ -15,6 +15,7 @@ import com.epmet.dto.form.IcServiceEditFormDTO; |
|
|
import com.epmet.dto.form.ServiceProjectFormDTO; |
|
|
import com.epmet.dto.form.ServiceProjectFormDTO; |
|
|
import com.epmet.dto.form.ServiceProjectListFormDTO; |
|
|
import com.epmet.dto.form.ServiceProjectListFormDTO; |
|
|
import com.epmet.dto.result.IcServiceRecDetailRes; |
|
|
import com.epmet.dto.result.IcServiceRecDetailRes; |
|
|
|
|
|
import com.epmet.dto.result.ServiceProjectListResultDTO; |
|
|
import com.epmet.service.IcServiceProjectService; |
|
|
import com.epmet.service.IcServiceProjectService; |
|
|
import com.epmet.service.IcServiceRecordService; |
|
|
import com.epmet.service.IcServiceRecordService; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
@ -107,6 +108,18 @@ public class IcServiceProjectController { |
|
|
return new Result<PageData>().ok(icServiceProjectService.serviceProjectList(formDTO)); |
|
|
return new Result<PageData>().ok(icServiceProjectService.serviceProjectList(formDTO)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Desc: 服务项目详情 |
|
|
|
|
|
* @param formDTO |
|
|
|
|
|
* @author zxc |
|
|
|
|
|
* @date 2022/5/30 15:46 |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("serviceProjectDetail") |
|
|
|
|
|
public Result<ServiceProjectListResultDTO> serviceProjectDetail(@RequestBody ServiceProjectListFormDTO formDTO){ |
|
|
|
|
|
ValidatorUtils.validateEntity(formDTO, ServiceProjectListFormDTO.ServiceProjectDetail.class); |
|
|
|
|
|
return new Result<ServiceProjectListResultDTO>().ok(icServiceProjectService.serviceProjectDetail(formDTO)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Desc: 修改【服务项目】 |
|
|
* Desc: 修改【服务项目】 |
|
|
* @param formDTO |
|
|
* @param formDTO |
|
|