增加行业大类查询接口,政策保存增加字段,政策留言功能开发
This commit is contained in:
@@ -26,17 +26,28 @@
|
||||
<result property="policyTag" column="policy_tag"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="policyCategory" column="policy_category"/>
|
||||
<result property="industryBigType" column="industry_big_type"/>
|
||||
<result property="docNo" column="doc_no"/>
|
||||
<result property="effectiveTime" column="effective_time"/>
|
||||
<result property="expireTime" column="expire_time"/>
|
||||
<result property="policyBackground" column="policy_background"/>
|
||||
<result property="policyPurpose" column="policy_purpose"/>
|
||||
<result property="policyClause" column="policy_clause"/>
|
||||
<result property="implementRule" column="implement_rule"/>
|
||||
<result property="email" column="email"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPolicyInfoListVo">
|
||||
select id, zcmc, zclx, zc_level, source_unit, accept_unit, publish_time, view_num, create_time, policy_tag, status,policy_category
|
||||
select id, zcmc, zclx, zc_level, source_unit, accept_unit, publish_time, view_num, create_time, policy_tag, status,policy_category,industry_big_type,
|
||||
doc_no,effective_time,expire_time,policy_background,policy_purpose,policy_clause,implement_rule,email
|
||||
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,policy_category
|
||||
file_url, file_name, view_num, create_by, create_time, update_by, update_time, remark, policy_tag, status,policy_category,industry_big_type,
|
||||
doc_no,effective_time,expire_time,policy_background,policy_purpose,policy_clause,implement_rule,email
|
||||
from policy_info
|
||||
</sql>
|
||||
|
||||
@@ -78,11 +89,13 @@
|
||||
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,policy_category
|
||||
file_url, file_name, view_num, create_by, create_time, del_flag, remark, policy_tag, status,policy_category,industry_big_type,
|
||||
doc_no,effective_time,expire_time,policy_background,policy_purpose,policy_clause,implement_rule,email
|
||||
) values (
|
||||
#{zcmc}, #{zclx}, #{zcLevel}, #{sourceUnit}, #{acceptUnit}, #{publishTime},
|
||||
#{zcContent}, #{subsidyStandard}, #{handleChannel}, #{applyCondition},
|
||||
#{fileUrl}, #{fileName}, #{viewNum}, #{createBy}, now(), '0', #{remark}, #{policyTag}, #{status},#{policyCategory}
|
||||
#{fileUrl}, #{fileName}, #{viewNum}, #{createBy}, now(), '0', #{remark}, #{policyTag}, #{status},#{policyCategory},#{industryBigType},
|
||||
#{docNo}, #{effectiveTime}, #{expireTime}, #{policyBackground}, #{policyPurpose}, #{policyClause}, #{implementRule}, #{email}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -105,6 +118,15 @@
|
||||
<if test="policyTag != null">policy_tag = #{policyTag},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="policyCategory != null">policy_category = #{policyCategory},</if>
|
||||
<if test="industryBigType != null">industry_big_type = #{industryBigType},</if>
|
||||
<if test="docNo != null">doc_no = #{docNo},</if>
|
||||
<if test="effectiveTime != null">effective_time = #{effectiveTime},</if>
|
||||
<if test="expireTime != null">expire_time = #{expireTime},</if>
|
||||
<if test="policyBackground != null">policy_background = #{policyBackground},</if>
|
||||
<if test="policyPurpose != null">policy_purpose = #{policyPurpose},</if>
|
||||
<if test="policyClause != null">policy_clause = #{policyClause},</if>
|
||||
<if test="implementRule != null">implement_rule = #{implementRule},</if>
|
||||
<if test="email != null">email = #{email},</if>
|
||||
update_by = #{updateBy},
|
||||
update_time = now()
|
||||
</set>
|
||||
|
||||
Reference in New Issue
Block a user