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