实现工厂建模接口

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

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