diff --git a/sgzb-api/sgzb-api-system/src/main/java/com/bonus/sgzb/base/api/domain/MaType.java b/sgzb-api/sgzb-api-system/src/main/java/com/bonus/sgzb/base/api/domain/MaType.java index e808ef3..31fc4c3 100644 --- a/sgzb-api/sgzb-api-system/src/main/java/com/bonus/sgzb/base/api/domain/MaType.java +++ b/sgzb-api/sgzb-api-system/src/main/java/com/bonus/sgzb/base/api/domain/MaType.java @@ -210,8 +210,14 @@ public class MaType extends BaseEntity { private String facModel; /** - * 厂家规格型号 + * 机具编码 */ @ApiModelProperty(value = "机具编号") private String machineCode; + + /* + * 推送智慧工程定义的门类分类机具编码 + * */ + @ApiModelProperty(value = "推送智慧工程定义的门类分类机具编码") + private String intelligentCode; } diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaMachineTypeMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaMachineTypeMapper.xml index 51aefb5..aeb51f5 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaMachineTypeMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaMachineTypeMapper.xml @@ -33,11 +33,11 @@ - + - select type_id, type_name, parent_id, status, num, company_id, code, unit_id, unit_name, manage_type, lease_price, eff_time, rent_price, buy_price, pay_price, level, rated_load, test_load, holding_time, warn_num, del_flag, create_by, create_time, update_by, update_time, is_plan, is_ancuo, remark,machine_code ,fac_model, child_photo from ma_type + select type_id, type_name, parent_id, status, num, company_id, code, unit_id, unit_name, manage_type, lease_price, eff_time, rent_price, buy_price, pay_price, level, rated_load, test_load, holding_time, warn_num, del_flag, create_by, create_time, update_by, update_time, is_plan, is_ancuo, remark,intelligent_code ,fac_model, child_photo from ma_type @@ -71,7 +71,7 @@ is_ancuo, remark, fac_model, - machine_code, + intelligent_code, #{typeName}, @@ -102,7 +102,7 @@ #{isAncuo}, #{remark}, #{facModel}, - #{machineCode}, + #{intelligentCode}, @@ -160,7 +160,7 @@ remark = #{remark}, company_id = #{companyId}, fac_model = #{facModel}, - machine_code = #{machineCode}, + intelligent_code = #{intelligentCode}, where type_id = #{typeId} @@ -287,7 +287,7 @@ mtf2.file_name documentName, mtf2.file_url documentUrl, mtk.user_id keeperUserId, su.nick_name keeperUserName, mtr.user_id repairUserId, su1.nick_name repairUserName,mpi.prop_id as propId, mpi.prop_name as propName, m.del_flag, m.create_by, m.create_time, - m.remark, m.company_id,m.fac_model as facModel,m.machine_code + m.remark, m.company_id,m.fac_model as facModel,m.intelligent_code from ma_type m left join ma_prop_set mps on m.type_id = mps.type_id left join ma_prop_info mpi on mps.prop_id = mpi.prop_id