refactor(perf): 将ID字段从String类型改为Long类型

- 修改所有实体类中的ID字段类型从String改为Long
- 更新所有服务接口和实现类的方法参数类型
- 调整控制器中的路径变量类型以匹配新的ID类型
- 修正查询条件判断逻辑,从字符串非空检查改为数值非空检查
- 更新数据传输对象中的ID字段类型保持一致性
This commit is contained in:
2026-07-07 16:39:37 +08:00
parent 50a62bc201
commit a56a0008b9
66 changed files with 200 additions and 200 deletions

View File

@@ -61,7 +61,7 @@ public class PerfDeptSummaryController extends BaseController {
*/
@GetMapping("/{id}")
public R<PerfDeptSummaryVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable String id) {
@PathVariable Long id) {
return R.ok(iPerfDeptSummaryService.queryById(id));
}
@@ -93,7 +93,7 @@ public class PerfDeptSummaryController extends BaseController {
@Log(title = "车间月度汇总", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable String[] ids) {
@PathVariable Long[] ids) {
return toAjax(iPerfDeptSummaryService.deleteWithValidByIds(Arrays.asList(ids), true));
}
}