From ccf9dfb83b9846974c569161502b784c668ee307 Mon Sep 17 00:00:00 2001
From: ZQN <364596817@qq.com>
Date: 星期二, 18 六月 2024 16:48:07 +0800
Subject: [PATCH] 企业字段添加,执法评价添加

---
 project-system/src/main/resources/mapper/system/SysDictTypeMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/project-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/project-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index 9b23181..7de9a0b 100644
--- a/project-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/project-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -8,6 +8,7 @@
 		<id     property="dictId"     column="dict_id"     />
 		<result property="dictName"   column="dict_name"   />
 		<result property="dictType"   column="dict_type"   />
+		<result property="isSystem"   column="is_system"   />
 		<result property="status"     column="status"      />
 		<result property="createBy"   column="create_by"   />
 		<result property="createTime" column="create_time" />
@@ -16,7 +17,7 @@
 	</resultMap>
 
 	<sql id="selectDictTypeVo">
-        select dict_id, dict_name, dict_type, status, create_by, create_time, remark
+        select dict_id, dict_name, dict_type,is_system, status, create_by, create_time, remark
 		from sys_dict_type
     </sql>
 
@@ -31,6 +32,9 @@
 			</if>
 			<if test="dictType != null and dictType != ''">
 				AND dict_type like concat('%', #{dictType}, '%')
+			</if>
+			<if test="isSystem != null">
+				AND is_system = #{isSystem}
 			</if>
 			<if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� -->
 				and date_format(create_time,'%y%m%d') &gt;= date_format(#{params.beginTime},'%y%m%d')
@@ -76,6 +80,7 @@
  		<set>
  			<if test="dictName != null and dictName != ''">dict_name = #{dictName},</if>
  			<if test="dictType != null and dictType != ''">dict_type = #{dictType},</if>
+ 			<if test="isSystem != null ">is_system = #{isSystem},</if>
  			<if test="status != null">status = #{status},</if>
  			<if test="remark != null">remark = #{remark},</if>
  			<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
@@ -88,6 +93,7 @@
  		insert into sys_dict_type(
  			<if test="dictName != null and dictName != ''">dict_name,</if>
  			<if test="dictType != null and dictType != ''">dict_type,</if>
+ 			<if test="isSystem != null ">is_system,</if>
  			<if test="status != null">status,</if>
  			<if test="remark != null and remark != ''">remark,</if>
  			<if test="createBy != null and createBy != ''">create_by,</if>
@@ -95,6 +101,7 @@
  		)values(
  			<if test="dictName != null and dictName != ''">#{dictName},</if>
  			<if test="dictType != null and dictType != ''">#{dictType},</if>
+ 			<if test="isSystem != null ">#{isSystem},</if>
  			<if test="status != null">#{status},</if>
  			<if test="remark != null and remark != ''">#{remark},</if>
  			<if test="createBy != null and createBy != ''">#{createBy},</if>

--
Gitblit v1.9.1