基础信息-设备

highway
A0010407 1 year ago
parent bc416685b0
commit 94f419e47e

@ -78,8 +78,8 @@ public class BaseEquipment extends BaseEntity {
private Long attr4; private Long attr4;
/** 单台能力工时 */ /** 单台能力工时 */
// @Excel(name = "单台能力工时") @Excel(name = "单台能力工时")
// private String unitWorkingHours; private String unitWorkingHours;
/** 工段 */ /** 工段 */
@Excel(name = "工段") @Excel(name = "工段")
@ -205,13 +205,13 @@ public class BaseEquipment extends BaseEntity {
public Long getAttr4() { public Long getAttr4() {
return attr4; return attr4;
} }
// public void setUnitWorkingHours(String unitWorkingHours) { public void setUnitWorkingHours(String unitWorkingHours) {
// this.unitWorkingHours = unitWorkingHours; this.unitWorkingHours = unitWorkingHours;
// } }
//
// public String getUnitWorkingHours() { public String getUnitWorkingHours() {
// return unitWorkingHours; return unitWorkingHours;
// } }
public void setWorkshopSection(String workshopSection) { public void setWorkshopSection(String workshopSection) {
this.workshopSection = workshopSection; this.workshopSection = workshopSection;
} }
@ -258,7 +258,7 @@ public class BaseEquipment extends BaseEntity {
.append("createTime", getCreateTime()) .append("createTime", getCreateTime())
.append("updateBy", getUpdateBy()) .append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime()) .append("updateTime", getUpdateTime())
// .append("unitWorkingHours", getUnitWorkingHours()) .append("unitWorkingHours", getUnitWorkingHours())
.append("workshopSection", getWorkshopSection()) .append("workshopSection", getWorkshopSection())
.append("equipmentLocation", getEquipmentLocation()) .append("equipmentLocation", getEquipmentLocation())
.append("hourlyUnitPrice", getHourlyUnitPrice()) .append("hourlyUnitPrice", getHourlyUnitPrice())

@ -26,14 +26,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createTime" column="create_time" /> <result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" /> <result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" /> <result property="updateTime" column="update_time" />
<!-- <result property="unitWorkingHours" column="unit_working_hours" />--> <result property="unitWorkingHours" column="unit_working_hours" />
<result property="workshopSection" column="workshop_section" /> <result property="workshopSection" column="workshop_section" />
<result property="equipmentLocation" column="equipment_location" /> <result property="equipmentLocation" column="equipment_location" />
<result property="hourlyUnitPrice" column="hourly_unit_price" /> <result property="hourlyUnitPrice" column="hourly_unit_price" />
</resultMap> </resultMap>
<sql id="selectBaseEquipmentVo"> <sql id="selectBaseEquipmentVo">
select equipment_id, equipment_code, equipment_name, equipment_brand, equipment_spec, equipment_type_id, equipment_type_code, equipment_type_name, workshop_id, workshop_code, workshop_name, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, workshop_section, equipment_location, hourly_unit_price from base_equipment select equipment_id, equipment_code, equipment_name, equipment_brand, equipment_spec, equipment_type_id, equipment_type_code, equipment_type_name, workshop_id, workshop_code, workshop_name, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time, workshop_section, equipment_location, hourly_unit_price,unit_working_hours from base_equipment
</sql> </sql>
<select id="selectBaseEquipmentList" parameterType="BaseEquipment" resultMap="BaseEquipmentResult"> <select id="selectBaseEquipmentList" parameterType="BaseEquipment" resultMap="BaseEquipmentResult">
@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if> <if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
<if test="attr3 != null "> and attr3 = #{attr3}</if> <if test="attr3 != null "> and attr3 = #{attr3}</if>
<if test="attr4 != null "> and attr4 = #{attr4}</if> <if test="attr4 != null "> and attr4 = #{attr4}</if>
<!-- <if test="unitWorkingHours != null and unitWorkingHours != ''"> and unit_working_hours = #{unitWorkingHours}</if>--> <if test="unitWorkingHours != null and unitWorkingHours != ''"> and unit_working_hours = #{unitWorkingHours}</if>
<if test="workshopSection != null and workshopSection != ''"> and workshop_section = #{workshopSection}</if> <if test="workshopSection != null and workshopSection != ''"> and workshop_section = #{workshopSection}</if>
<if test="equipmentLocation != null and equipmentLocation != ''"> and equipment_location = #{equipmentLocation}</if> <if test="equipmentLocation != null and equipmentLocation != ''"> and equipment_location = #{equipmentLocation}</if>
<if test="hourlyUnitPrice != null and hourlyUnitPrice != ''"> and hourly_unit_price = #{hourlyUnitPrice}</if> <if test="hourlyUnitPrice != null and hourlyUnitPrice != ''"> and hourly_unit_price = #{hourlyUnitPrice}</if>
@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTime != null">create_time,</if> <if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if> <if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
<!-- <if test="unitWorkingHours != null and unitWorkingHours != ''">unit_working_hours,</if>--> <if test="unitWorkingHours != null and unitWorkingHours != ''">unit_working_hours,</if>
<if test="workshopSection != null and workshopSection != ''">workshop_section,</if> <if test="workshopSection != null and workshopSection != ''">workshop_section,</if>
<if test="equipmentLocation != null and equipmentLocation != ''">equipment_location,</if> <if test="equipmentLocation != null and equipmentLocation != ''">equipment_location,</if>
<if test="hourlyUnitPrice != null and hourlyUnitPrice != ''">hourly_unit_price,</if> <if test="hourlyUnitPrice != null and hourlyUnitPrice != ''">hourly_unit_price,</if>
@ -115,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTime != null">#{createTime},</if> <if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if> <if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if> <if test="updateTime != null">#{updateTime},</if>
<!-- <if test="unitWorkingHours != null and unitWorkingHours != ''">#{unitWorkingHours},</if>--> <if test="unitWorkingHours != null and unitWorkingHours != ''">#{unitWorkingHours},</if>
<if test="workshopSection != null and workshopSection != ''">#{workshopSection},</if> <if test="workshopSection != null and workshopSection != ''">#{workshopSection},</if>
<if test="equipmentLocation != null and equipmentLocation != ''">#{equipmentLocation},</if> <if test="equipmentLocation != null and equipmentLocation != ''">#{equipmentLocation},</if>
<if test="hourlyUnitPrice != null and hourlyUnitPrice != ''">#{hourlyUnitPrice},</if> <if test="hourlyUnitPrice != null and hourlyUnitPrice != ''">#{hourlyUnitPrice},</if>

Loading…
Cancel
Save