Commit 6d8928f2 by huangZW

111

parent c05bec7a
...@@ -46,10 +46,19 @@ public class AuditDTO implements Serializable { ...@@ -46,10 +46,19 @@ public class AuditDTO implements Serializable {
private String wxEnterpriseId; private String wxEnterpriseId;
private String relatedId;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public String getWxEnterpriseId() { public String getRelatedId() {
return relatedId;
}
public void setRelatedId(String relatedId) {
this.relatedId = relatedId;
}
public String getWxEnterpriseId() {
return wxEnterpriseId; return wxEnterpriseId;
} }
......
...@@ -42,9 +42,19 @@ public class TabHaobanAudit implements Serializable { ...@@ -42,9 +42,19 @@ public class TabHaobanAudit implements Serializable {
private String wxEnterpriseId; private String wxEnterpriseId;
private String relatedId;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public String getAuditId() { public String getRelatedId() {
return relatedId;
}
public void setRelatedId(String relatedId) {
this.relatedId = relatedId;
}
public String getAuditId() {
return auditId; return auditId;
} }
......
...@@ -21,11 +21,12 @@ ...@@ -21,11 +21,12 @@
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" /> <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
<result column="status_flag" property="statusFlag" jdbcType="INTEGER" /> <result column="status_flag" property="statusFlag" jdbcType="INTEGER" />
<result column="wx_enterprise_id" property="wxEnterpriseId" jdbcType="VARCHAR" /> <result column="wx_enterprise_id" property="wxEnterpriseId" jdbcType="VARCHAR" />
<result column="related_id" property="relatedId" jdbcType="VARCHAR" />
</resultMap> </resultMap>
<sql id="Base_Column_List" > <sql id="Base_Column_List" >
audit_id, audit_type, commit_name, commit_staff_id, commit_staff_name, commit_staff_img, audit_id, audit_type, commit_name, commit_staff_id, commit_staff_name, commit_staff_img,
commit_store_id, change_field, old_value, new_value, commit_time, enterprise_id, commit_store_id, change_field, old_value, new_value, commit_time, enterprise_id,
audit_name, audit_status, audit_reason, create_time, update_time, status_flag, wx_enterprise_id audit_name, audit_status, audit_reason, create_time, update_time, status_flag, wx_enterprise_id,related_id
</sql> </sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select select
...@@ -44,14 +45,14 @@ ...@@ -44,14 +45,14 @@
new_value, commit_time, enterprise_id, new_value, commit_time, enterprise_id,
audit_name, audit_status, audit_reason, audit_name, audit_status, audit_reason,
create_time, update_time, status_flag, create_time, update_time, status_flag,
wx_enterprise_id) wx_enterprise_id,related_id)
values (#{auditId,jdbcType=VARCHAR}, #{auditType,jdbcType=INTEGER}, #{commitName,jdbcType=VARCHAR}, values (#{auditId,jdbcType=VARCHAR}, #{auditType,jdbcType=INTEGER}, #{commitName,jdbcType=VARCHAR},
#{commitStaffId,jdbcType=VARCHAR}, #{commitStaffName,jdbcType=VARCHAR}, #{commitStaffImg,jdbcType=VARCHAR}, #{commitStaffId,jdbcType=VARCHAR}, #{commitStaffName,jdbcType=VARCHAR}, #{commitStaffImg,jdbcType=VARCHAR},
#{commitStoreId,jdbcType=VARCHAR}, #{changeField,jdbcType=VARCHAR}, #{oldValue,jdbcType=VARCHAR}, #{commitStoreId,jdbcType=VARCHAR}, #{changeField,jdbcType=VARCHAR}, #{oldValue,jdbcType=VARCHAR},
#{newValue,jdbcType=VARCHAR}, #{commitTime,jdbcType=TIMESTAMP}, #{enterpriseId,jdbcType=VARCHAR}, #{newValue,jdbcType=VARCHAR}, #{commitTime,jdbcType=TIMESTAMP}, #{enterpriseId,jdbcType=VARCHAR},
#{auditName,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER}, #{auditReason,jdbcType=VARCHAR}, #{auditName,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER}, #{auditReason,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{statusFlag,jdbcType=INTEGER},
#{wxEnterpriseId,jdbcType=VARCHAR}) #{wxEnterpriseId,jdbcType=VARCHAR},#{relatedId,jdbcType=VARCHAR})
</insert> </insert>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanAudit" > <insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanAudit" >
insert into tab_haoban_audit insert into tab_haoban_audit
...@@ -113,6 +114,9 @@ ...@@ -113,6 +114,9 @@
<if test="wxEnterpriseId != null" > <if test="wxEnterpriseId != null" >
wx_enterprise_id, wx_enterprise_id,
</if> </if>
<if test="relatedId != null" >
related_id,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides="," > <trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="auditId != null" > <if test="auditId != null" >
...@@ -172,6 +176,9 @@ ...@@ -172,6 +176,9 @@
<if test="wxEnterpriseId != null" > <if test="wxEnterpriseId != null" >
#{wxEnterpriseId,jdbcType=VARCHAR}, #{wxEnterpriseId,jdbcType=VARCHAR},
</if> </if>
<if test="relatedId != null" >
#{relatedId,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanAudit" > <update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanAudit" >
...@@ -231,6 +238,9 @@ ...@@ -231,6 +238,9 @@
<if test="wxEnterpriseId != null" > <if test="wxEnterpriseId != null" >
wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}, wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR},
</if> </if>
<if test="relatedId != null" >
related_id = #{relatedId,jdbcType=VARCHAR},
</if>
</set> </set>
where audit_id = #{auditId,jdbcType=VARCHAR} where audit_id = #{auditId,jdbcType=VARCHAR}
</update> </update>
...@@ -253,7 +263,8 @@ ...@@ -253,7 +263,8 @@
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
status_flag = #{statusFlag,jdbcType=INTEGER}, status_flag = #{statusFlag,jdbcType=INTEGER},
wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR} wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR},
related_id = #{relatedId,jdbcType=VARCHAR}
where audit_id = #{auditId,jdbcType=VARCHAR} where audit_id = #{auditId,jdbcType=VARCHAR}
</update> </update>
<sql id="storeSql"> <sql id="storeSql">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment