实现工厂建模接口

This commit is contained in:
ddmt 2024-11-18 20:53:51 +08:00
parent 746ed33250
commit b0ac0030b2
492 changed files with 51 additions and 38 deletions

View File

@ -28,11 +28,11 @@ import com.neu.common.core.page.TableDataInfo;
* 能效检测点Controller * 能效检测点Controller
* *
* @author neuedu * @author neuedu
* @date 2022-07-22 * @date 2024-11-16
*/ */
@Api(tags = {"能效检测点"}) @Api(tags = {"能效检测点"})
@RestController @RestController
@RequestMapping("/cfElectric/checkpoint") @RequestMapping("/footprint/checkpoint")
public class CfElectricCheckpointController extends BaseController public class CfElectricCheckpointController extends BaseController
{ {
@Autowired @Autowired
@ -64,7 +64,7 @@ public class CfElectricCheckpointController extends BaseController
@DynamicParameter(name = "code", value = "状态码200正确其他错误"), @DynamicParameter(name = "code", value = "状态码200正确其他错误"),
@DynamicParameter(name = "msg", value = "文件名") @DynamicParameter(name = "msg", value = "文件名")
}) })
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:export')") @PreAuthorize("@ss.hasPermi('footprint:checkpoint:export')")
@Log(title = "能效检测点", businessType = BusinessType.EXPORT) @Log(title = "能效检测点", businessType = BusinessType.EXPORT)
@GetMapping("/export") @GetMapping("/export")
public AjaxResult export(CfElectricCheckpoint cfElectricCheckpoint) public AjaxResult export(CfElectricCheckpoint cfElectricCheckpoint)
@ -97,7 +97,7 @@ public class CfElectricCheckpointController extends BaseController
@DynamicParameter(name = "code", value = "状态码200正确其他错误"), @DynamicParameter(name = "code", value = "状态码200正确其他错误"),
@DynamicParameter(name = "msg", value = "返回消息内容") @DynamicParameter(name = "msg", value = "返回消息内容")
}) })
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:add')") @PreAuthorize("@ss.hasPermi('footprint:checkpoint:add')")
@Log(title = "能效检测点", businessType = BusinessType.INSERT) @Log(title = "能效检测点", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody CfElectricCheckpoint cfElectricCheckpoint) public AjaxResult add(@RequestBody CfElectricCheckpoint cfElectricCheckpoint)
@ -113,7 +113,7 @@ public class CfElectricCheckpointController extends BaseController
@DynamicParameter(name = "code", value = "状态码200正确其他错误"), @DynamicParameter(name = "code", value = "状态码200正确其他错误"),
@DynamicParameter(name = "msg", value = "返回消息内容") @DynamicParameter(name = "msg", value = "返回消息内容")
}) })
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:edit')") @PreAuthorize("@ss.hasPermi('footprint:checkpoint:edit')")
@Log(title = "能效检测点", businessType = BusinessType.UPDATE) @Log(title = "能效检测点", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody CfElectricCheckpoint cfElectricCheckpoint) public AjaxResult edit(@RequestBody CfElectricCheckpoint cfElectricCheckpoint)
@ -129,7 +129,7 @@ public class CfElectricCheckpointController extends BaseController
@DynamicParameter(name = "code", value = "状态码200正确其他错误"), @DynamicParameter(name = "code", value = "状态码200正确其他错误"),
@DynamicParameter(name = "msg", value = "返回消息内容") @DynamicParameter(name = "msg", value = "返回消息内容")
}) })
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:remove')") @PreAuthorize("@ss.hasPermi('footprint:checkpoint:remove')")
@Log(title = "能效检测点", businessType = BusinessType.DELETE) @Log(title = "能效检测点", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) public AjaxResult remove(@PathVariable Long[] ids)

Some files were not shown because too many files have changed in this diff Show More