|
|
@ -1,8 +1,11 @@ |
|
|
package com.epmet.plugin.power.modules.axis.ViewController; |
|
|
package com.epmet.plugin.power.modules.axis.ViewController; |
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
|
|
import com.epmet.plugin.power.dto.axis.form.PowerAxisLeaderDetailFormDTO; |
|
|
import com.epmet.plugin.power.dto.axis.form.PowerAxisStructViewFormDTO; |
|
|
import com.epmet.plugin.power.dto.axis.form.PowerAxisStructViewFormDTO; |
|
|
|
|
|
import com.epmet.plugin.power.dto.axis.result.PowerAxisLeaderDetailResultDTO; |
|
|
import com.epmet.plugin.power.dto.axis.result.PowerAxisStructViewResultDTO; |
|
|
import com.epmet.plugin.power.dto.axis.result.PowerAxisStructViewResultDTO; |
|
|
|
|
|
import com.epmet.plugin.power.modules.axis.service.PowerAxisLeaderService; |
|
|
import com.epmet.plugin.power.modules.axis.service.PowerAxisStructService; |
|
|
import com.epmet.plugin.power.modules.axis.service.PowerAxisStructService; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
@ -17,6 +20,8 @@ public class PowerAxisStructViewController { |
|
|
@Autowired |
|
|
@Autowired |
|
|
private PowerAxisStructService powerAxisStructService; |
|
|
private PowerAxisStructService powerAxisStructService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private PowerAxisLeaderService powerAxisLeaderService; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 关键指标统计 |
|
|
* 关键指标统计 |
|
|
@ -26,4 +31,13 @@ public class PowerAxisStructViewController { |
|
|
PowerAxisStructViewResultDTO result = powerAxisStructService.getStatistics(form); |
|
|
PowerAxisStructViewResultDTO result = powerAxisStructService.getStatistics(form); |
|
|
return new Result().ok(result); |
|
|
return new Result().ok(result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 动力主轴负责人详细信息 |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("/leader") |
|
|
|
|
|
public Result getLeaderDetail(@RequestBody PowerAxisLeaderDetailFormDTO form){ |
|
|
|
|
|
PowerAxisLeaderDetailResultDTO dto = powerAxisLeaderService.getLeaderDetail(form); |
|
|
|
|
|
return new Result(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|