fix:密品维护旁站人员

pg_adapter
wangxy 8 months ago
parent 5dff6f2764
commit 435b5cefb0

@ -102,6 +102,18 @@ public class TdPropertyEment implements Serializable {
*/
private Date createTime;
/**
*
*/
private String maintainStand;
/**
*
*/
private String destoryStand;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}

@ -126,6 +126,17 @@ public class TdPropertyInfo extends BaseEntity
@Excel(name = "部门")
private String part;
/**
*
*/
private String maintainStand;
/**
*
*/
private String destoryStand;
public void setId(String id)
{
this.id = id;
@ -370,6 +381,22 @@ public class TdPropertyInfo extends BaseEntity
return part;
}
public String getMaintainStand() {
return maintainStand;
}
public void setMaintainStand(String maintainStand) {
this.maintainStand = maintainStand;
}
public String getDestoryStand() {
return destoryStand;
}
public void setDestoryStand(String destoryStand) {
this.destoryStand = destoryStand;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@ -401,6 +428,8 @@ public class TdPropertyInfo extends BaseEntity
.append("maintainRemark", getMaintainRemark())
.append("shemichengdu", getShemichengdu())
.append("part", getPart())
.append("maintainStand", getMaintainStand())
.append("destoryStand", getDestoryStand())
.toString();
}
}

@ -21,6 +21,8 @@
<result property="destoryType" column="destory_type" jdbcType="VARCHAR"/>
<result property="maintainRemark" column="maintain_remark" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="maintainStand" column="maintain_stand" jdbcType="VARCHAR"/>
<result property="destoryStand" column="destory_stand" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
@ -29,7 +31,7 @@
maintain_user,maintain_date,maintain_state,
destory_state,destory_depart,destory_user,
destory_date,destory_type,maintain_remark,
create_time
create_time,maintain_stand,destory_stand
</sql>
<select id="selectEmentList" resultType="com.ruoyi.system.domain.TdPropertyEment">

@ -33,6 +33,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="maintainRemark" column="maintain_remark" />
<result property="shemichengdu" column="shemichengdu" />
<result property="part" column="part" />
<result property="maintainStand" column="maintain_stand" jdbcType="VARCHAR"/>
<result property="destoryStand" column="destory_stand" jdbcType="VARCHAR"/>
</resultMap>
<sql id="selectTdPropertyInfoVo">
@ -69,6 +71,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="maintainRemark != null and maintainRemark != ''"> and maintain_remark = #{maintainRemark}</if>
<if test="shemichengdu != null and shemichengdu != ''"> and shemichengdu = #{shemichengdu}</if>
<if test="part != null and part != ''"> and part = #{part}</if>
<if test="maintainStand != null and maintainStand != ''"> and maintain_stand = #{maintainStand}</if>
<if test="destoryStand != null and destoryStand != ''"> and destory_stand = #{destoryStand}</if>
</where>
</select>
@ -113,6 +117,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="maintainRemark != null">maintain_remark,</if>
<if test="shemichengdu != null">shemichengdu,</if>
<if test="part != null">part,</if>
<if test="maintainStand != null">maintain_stand,</if>
<if test="destoryStand != null">destory_stand,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -143,6 +149,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="maintainRemark != null">#{maintainRemark},</if>
<if test="shemichengdu != null">#{shemichengdu},</if>
<if test="part != null">#{part},</if>
<if test="maintainStand != null">#{maintainStand},</if>
<if test="destoryStand != null">#{destoryStand},</if>
</trim>
</insert>
@ -176,6 +184,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="maintainRemark != null">maintain_remark = #{maintainRemark},</if>
<if test="shemichengdu != null">shemichengdu = #{shemichengdu},</if>
<if test="part != null">part = #{part},</if>
<if test="maintainStand != null">maintain_stand = #{maintainStand},</if>
<if test="destoryStand != null">destory_stand = #{destoryStand},</if>
</trim>
where id = #{id}
</update>

Loading…
Cancel
Save