工器具编码 id变更

main
yangzhicheng 12 months ago
parent f1c938f579
commit c4857e49f0
  1. 6
      src/main/java/org/energy/modules/leger/controller/ToolInventoryRecordController.java
  2. 2
      src/main/java/org/energy/modules/leger/entity/ToolInventoryRecord.java
  3. 2
      src/main/java/org/energy/modules/leger/mapper/ToolInventoryRecordMapper.xml

@ -42,7 +42,7 @@ import com.dayu.daf.core.boot.ctrl.DafController;
*/
@RestController
@AllArgsConstructor
@RequestMapping("/toolinventoryrecord")
@RequestMapping("/leger/toolinventoryrecord")
@Api(value = "工器具编码一览", tags = "工器具编码一览接口")
public class ToolInventoryRecordController extends DafController {
@ -111,7 +111,7 @@ public class ToolInventoryRecordController extends DafController {
return R.status(toolInventoryRecordService.saveOrUpdate(toolInventoryRecord));
}
/**
* 删除 工器具编码一览
*/
@ -122,5 +122,5 @@ public class ToolInventoryRecordController extends DafController {
return R.status(toolInventoryRecordService.deleteLogic(Func.toLongList(ids)));
}
}

@ -31,7 +31,7 @@ public class ToolInventoryRecord extends BaseEntity {
* 工器具编码
*/
@ApiModelProperty(value = "工器具编码")
private String toolCode;
private Long toolsCodeId;
/**
* 工器具名称
*/

@ -11,7 +11,7 @@
<result column="update_time" property="updateTime"/>
<result column="update_user" property="updateUser"/>
<result column="is_deleted" property="isDeleted"/>
<result column="tool_code" property="toolCode"/>
<result column="tools_code_id" property="toolsCodeId"/>
<result column="tool_name" property="toolName"/>
<result column="model_specification" property="modelSpecification"/>
<result column="configuration_date" property="configurationDate"/>

Loading…
Cancel
Save