添加政策导出
This commit is contained in:
@@ -25,17 +25,18 @@
|
||||
<result property="remark" column="remark"/>
|
||||
<result property="policyTag" column="policy_tag"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="policyCategory" column="policy_category"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPolicyInfoListVo">
|
||||
select id, zcmc, zclx, zc_level, source_unit, accept_unit, publish_time, view_num, create_time, policy_tag, status
|
||||
select id, zcmc, zclx, zc_level, source_unit, accept_unit, publish_time, view_num, create_time, policy_tag, status,policy_category
|
||||
from policy_info
|
||||
</sql>
|
||||
|
||||
<sql id="selectPolicyInfoDetailVo">
|
||||
select id, zcmc, zclx, zc_level, source_unit, accept_unit, publish_time,
|
||||
zc_content, subsidy_standard, handle_channel, apply_condition,
|
||||
file_url, file_name, view_num, create_by, create_time, update_by, update_time, remark, policy_tag, status
|
||||
file_url, file_name, view_num, create_by, create_time, update_by, update_time, remark, policy_tag, status,policy_category
|
||||
from policy_info
|
||||
</sql>
|
||||
|
||||
@@ -77,11 +78,11 @@
|
||||
insert into policy_info (
|
||||
zcmc, zclx, zc_level, source_unit, accept_unit, publish_time,
|
||||
zc_content, subsidy_standard, handle_channel, apply_condition,
|
||||
file_url, file_name, view_num, create_by, create_time, del_flag, remark, policy_tag, status
|
||||
file_url, file_name, view_num, create_by, create_time, del_flag, remark, policy_tag, status,policy_category
|
||||
) values (
|
||||
#{zcmc}, #{zclx}, #{zcLevel}, #{sourceUnit}, #{acceptUnit}, #{publishTime},
|
||||
#{zcContent}, #{subsidyStandard}, #{handleChannel}, #{applyCondition},
|
||||
#{fileUrl}, #{fileName}, #{viewNum}, #{createBy}, now(), '0', #{remark}, #{policyTag}, #{status}
|
||||
#{fileUrl}, #{fileName}, #{viewNum}, #{createBy}, now(), '0', #{remark}, #{policyTag}, #{status},#{policyCategory}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -103,6 +104,7 @@
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="policyTag != null">policy_tag = #{policyTag},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="policyCategory != null">policy_category = #{policyCategory},</if>
|
||||
update_by = #{updateBy},
|
||||
update_time = now()
|
||||
</set>
|
||||
|
||||
Reference in New Issue
Block a user