Browse Source

调解系统整理

18792927508 2 years ago
parent
commit
62183896ab
38 changed files with 199 additions and 161 deletions
  1. 43
    0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/mscase/MsCaseApplicationController.java
  2. 6
    2
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/mscase/MsCaseLogRecordController.java
  3. 1
    1
      ruoyi-admin/src/main/resources/application-druid.yml
  4. 1
    1
      ruoyi-admin/src/main/resources/application.yml
  5. 32
    19
      ruoyi-common/src/main/java/com/ruoyi/common/handler/ResponseBodyAdviceHandler.java
  6. 3
    3
      ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
  7. 4
    4
      ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
  8. 1
    0
      ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/mapper/miniprogress/IdentityAuthenticationMapper.java
  9. 2
    2
      ruoyi-system/src/main/resources/generator/config.properties
  10. 3
    3
      ruoyi-system/src/main/resources/generator/generatorConfig.xml
  11. 5
    5
      ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
  12. 4
    4
      ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
  13. 5
    5
      ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
  14. 4
    4
      ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
  15. 3
    3
      ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
  16. 6
    6
      ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
  17. 4
    4
      ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
  18. 3
    3
      ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
  19. 4
    4
      ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
  20. 1
    1
      ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
  21. 6
    6
      ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
  22. 1
    1
      ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
  23. 11
    34
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
  24. 1
    1
      ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
  25. 2
    2
      ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
  26. 5
    5
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/casenumrule/CaseNumRuleMapper.xml
  27. 4
    4
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/dept/DeptIdentifyMapper.xml
  28. 4
    4
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/dept/SealManageMapper.xml
  29. 3
    3
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/miniprogress/IdentityAuthenticationMapper.xml
  30. 1
    1
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAffiliateLogMapper.xml
  31. 1
    1
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseApplicationMapper.xml
  32. 3
    3
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAttachLogMapper.xml
  33. 3
    3
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAttachMapper.xml
  34. 2
    2
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/sendrecord/SendMailRecordMapper.xml
  35. 3
    3
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/sendrecord/SmsRecordMapper.xml
  36. 7
    7
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/FatchRuleMapper.xml
  37. 3
    3
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/TemplateFatchRuleMapper.xml
  38. 4
    4
      ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/TemplateManageMapper.xml

+ 43
- 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/mscase/MsCaseApplicationController.java View File

@@ -0,0 +1,43 @@
1
+package com.ruoyi.web.controller.wisdomarbitrate.mscase;
2
+
3
+import com.ruoyi.common.core.controller.BaseController;
4
+import com.ruoyi.common.core.domain.AjaxResult;
5
+import com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseLogRecord;
6
+import com.ruoyi.wisdomarbitrate.service.mscase.MsCaseLogRecordService;
7
+import org.springframework.beans.factory.annotation.Autowired;
8
+import org.springframework.security.access.prepost.PreAuthorize;
9
+import org.springframework.web.bind.annotation.GetMapping;
10
+import org.springframework.web.bind.annotation.RequestMapping;
11
+import org.springframework.web.bind.annotation.RestController;
12
+
13
+import java.util.List;
14
+/**
15
+ * 案件列表控制层
16
+ * @Author wangqiong
17
+ * @Date 2024/01/8
18
+ * @Version V1.0
19
+ */
20
+@RestController
21
+@RequestMapping("/caseApplication")
22
+public class MsCaseApplicationController extends BaseController {
23
+    @Autowired
24
+    private MsCaseLogRecordService caseLogRecordService;
25
+
26
+    /**
27
+     * 查询案件日志列表
28
+     */
29
+    @PreAuthorize("@ss.hasPermi('caseLog:list')")
30
+    @GetMapping("/list")
31
+    public AjaxResult list(MsCaseLogRecord caseLogRecord)
32
+    {
33
+        List<MsCaseLogRecord> list = caseLogRecordService.selectCaseLogRecordList(caseLogRecord);
34
+        return AjaxResult.success(list);
35
+    }
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+}

+ 6
- 2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/mscase/MsCaseLogRecordController.java View File

@@ -2,7 +2,6 @@ package com.ruoyi.web.controller.wisdomarbitrate.mscase;
2 2
 
3 3
 import com.ruoyi.common.core.controller.BaseController;
4 4
 import com.ruoyi.common.core.domain.AjaxResult;
5
-import com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseLogRecord;
6 5
 import com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseLogRecord;
7 6
 import com.ruoyi.wisdomarbitrate.service.mscase.MsCaseLogRecordService;
8 7
 import org.springframework.beans.factory.annotation.Autowired;
@@ -12,7 +11,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
12 11
 import org.springframework.web.bind.annotation.RestController;
13 12
 
14 13
 import java.util.List;
15
-
14
+/**
15
+ * 案件日志控制层
16
+ * @Author wangqiong
17
+ * @Date 2024/01/8
18
+ * @Version V1.0
19
+ */
16 20
 @RestController
17 21
 @RequestMapping("/caseLogRecord")
18 22
 public class MsCaseLogRecordController extends BaseController {

+ 1
- 1
ruoyi-admin/src/main/resources/application-druid.yml View File

@@ -6,7 +6,7 @@ spring:
6 6
         druid:
7 7
             # 主库数据源
8 8
             master:
9
-                url: jdbc:mysql://121.40.189.20:3306/mediation_system?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai&useSSL=false
9
+                url: jdbc:mysql://121.40.189.20:3306/mediation_system?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&serverTimezone=Asia/Shanghai&useSSL=false
10 10
                 username: root
11 11
                 password: YMzc157#
12 12
             # 从库数据源

+ 1
- 1
ruoyi-admin/src/main/resources/application.yml View File

@@ -18,7 +18,7 @@ ruoyi:
18 18
 # 开发环境配置
19 19
 server:
20 20
   # 服务器的HTTP端口,默认为8080
21
-  port: 8001
21
+  port: 6001
22 22
   servlet:
23 23
     # 应用的访问路径
24 24
     context-path: /

+ 32
- 19
ruoyi-common/src/main/java/com/ruoyi/common/handler/ResponseBodyAdviceHandler.java View File

@@ -1,5 +1,6 @@
1 1
 package com.ruoyi.common.handler;
2 2
 
3
+import cn.hutool.core.collection.CollectionUtil;
3 4
 import cn.hutool.core.util.ObjectUtil;
4 5
 import cn.hutool.core.util.StrUtil;
5 6
 import com.fasterxml.jackson.core.JsonProcessingException;
@@ -17,9 +18,11 @@ import org.springframework.http.server.ServerHttpRequest;
17 18
 import org.springframework.http.server.ServerHttpResponse;
18 19
 import org.springframework.web.bind.annotation.RestControllerAdvice;
19 20
 import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
21
+
20 22
 import java.lang.reflect.Field;
21 23
 import java.util.ArrayList;
22 24
 import java.util.List;
25
+import java.util.Optional;
23 26
 
24 27
 
25 28
 /**
@@ -39,18 +42,27 @@ public class ResponseBodyAdviceHandler implements ResponseBodyAdvice {
39 42
 
40 43
     @Override
41 44
     public Object beforeBodyWrite(Object body, MethodParameter methodParameter, MediaType mediaType, Class aClass, ServerHttpRequest request, ServerHttpResponse serverHttpResponse) {
42
-         if (body instanceof String) {
43
-            ObjectMapper om = new ObjectMapper();
44
-            try {
45
-                return om.writeValueAsString(AjaxResult.success(body));
46
-            } catch (JsonProcessingException e) {
47
-                log.error("JsonProcessingException e:{}", e);
45
+
46
+        if (body instanceof AjaxResult) {
47
+            AjaxResult result = (AjaxResult) body;
48
+            if (ObjectUtil.isNotEmpty(result.get("data"))) {
49
+                //判断类型,然后转换字典
50
+                turnType(body);
51
+                return body;
52
+            }
53
+        } else if (body instanceof TableDataInfo) {
54
+            TableDataInfo pageRes = (TableDataInfo) body;
55
+            List list = pageRes.getRows();
56
+            if (CollectionUtil.isNotEmpty(list)) {
57
+                //判断类型,然后转换字典
58
+                turnType(body);
59
+                return body;
48 60
             }
49 61
         }
50
-        //判断类型,然后转换字典
51
-        turnType(body);
52
-        AjaxResult result = AjaxResult.success(body);
53
-        return result;
62
+            return body;
63
+
64
+
65
+
54 66
     }
55 67
 
56 68
     /**
@@ -61,17 +73,17 @@ public class ResponseBodyAdviceHandler implements ResponseBodyAdvice {
61 73
     private void turnType(Object body) {
62 74
         if (body instanceof AjaxResult) {
63 75
             AjaxResult result = (AjaxResult) body;
64
-            if(result.isSuccess()){
76
+            if (result.isSuccess()) {
65 77
                 Object data = result.get("data");
66
-                if(data!=null){
67
-                    if(data instanceof List){
78
+                if (data != null) {
79
+                    if (data instanceof List) {
68 80
                         List list = (List) data;
69 81
                         convertList(list);
70
-                    }else if(data instanceof TableDataInfo){
82
+                    } else if (data instanceof TableDataInfo) {
71 83
                         TableDataInfo pageRes = (TableDataInfo) data;
72 84
                         List list = pageRes.getRows();
73 85
                         convertList(list);
74
-                    }else{
86
+                    } else {
75 87
                         loopTurn(data);
76 88
                     }
77 89
                 }
@@ -185,20 +197,20 @@ public class ResponseBodyAdviceHandler implements ResponseBodyAdvice {
185 197
                     if (targetField != null) {
186 198
                         targetField.setAccessible(true);
187 199
                         String dictType = dictConvert.dictType();
188
-                        if(StrUtil.isEmpty(dictType)){
200
+                        if (StrUtil.isEmpty(dictType)) {
189 201
                             return;
190 202
                         }
191 203
                         //单个字典时直接设置值
192 204
                         if (!dictConvert.isMultiple()) {
193 205
 
194
-                            targetField.set(obj, ObjectUtil.isNotEmpty( DictUtils.getDictLabel(dictType,key)) ?  DictUtils.getDictLabel(dictType,key):null);
206
+                            targetField.set(obj, ObjectUtil.isNotEmpty(DictUtils.getDictLabel(dictType, key)) ? DictUtils.getDictLabel(dictType, key) : null);
195 207
                         } else {
196 208
                             //多个字典时,用逗号拼接值
197 209
                             List<String> textList = new ArrayList<>();
198 210
                             String[] ids = key.split(dictConvert.separator());
199 211
                             for (String id : ids) {
200
-                                if (ObjectUtil.isNotEmpty(DictUtils.getDictLabel(dictType,id))&&StrUtil.isNotEmpty(DictUtils.getDictLabel(dictType,id))) {
201
-                                    textList.add(DictUtils.getDictLabel(dictType,id));
212
+                                if (ObjectUtil.isNotEmpty(DictUtils.getDictLabel(dictType, id)) && StrUtil.isNotEmpty(DictUtils.getDictLabel(dictType, id))) {
213
+                                    textList.add(DictUtils.getDictLabel(dictType, id));
202 214
                                 }
203 215
                             }
204 216
                             targetField.set(obj, StrUtil.join(dictConvert.separator(), textList));
@@ -210,6 +222,7 @@ public class ResponseBodyAdviceHandler implements ResponseBodyAdvice {
210 222
             }
211 223
         }
212 224
     }
225
+
213 226
     /**
214 227
      * 获取目标属性
215 228
      *

+ 3
- 3
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.quartz.mapper.SysJobLogMapper">
6 6
 
7
-	<resultMap type="SysJobLog" id="SysJobLogResult">
7
+	<resultMap type="com.ruoyi.quartz.domain.SysJobLog" id="SysJobLogResult">
8 8
 		<id     property="jobLogId"       column="job_log_id"      />
9 9
 		<result property="jobName"        column="job_name"        />
10 10
 		<result property="jobGroup"       column="job_group"       />
@@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
20 20
 		from ms_sys_job_log
21 21
     </sql>
22 22
 	
23
-	<select id="selectJobLogList" parameterType="SysJobLog" resultMap="SysJobLogResult">
23
+	<select id="selectJobLogList" parameterType="com.ruoyi.quartz.domain.SysJobLog" resultMap="SysJobLogResult">
24 24
 		<include refid="selectJobLogVo"/>
25 25
 		<where>
26 26
 			<if test="jobName != null and jobName != ''">
@@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
68 68
         truncate table ms_sys_job_log
69 69
     </update>
70 70
  	
71
- 	<insert id="insertJobLog" parameterType="SysJobLog">
71
+ 	<insert id="insertJobLog" parameterType="com.ruoyi.quartz.domain.SysJobLog">
72 72
  		insert into ms_sys_job_log(
73 73
  			<if test="jobLogId != null and jobLogId != 0">job_log_id,</if>
74 74
  			<if test="jobName != null and jobName != ''">job_name,</if>

+ 4
- 4
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.quartz.mapper.SysJobMapper">
6 6
 
7
-	<resultMap type="SysJob" id="SysJobResult">
7
+	<resultMap type="com.ruoyi.quartz.domain.SysJob" id="SysJobResult">
8 8
 		<id     property="jobId"          column="job_id"          />
9 9
 		<result property="jobName"        column="job_name"        />
10 10
 		<result property="jobGroup"       column="job_group"       />
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
25 25
 		from ms_sys_job
26 26
     </sql>
27 27
 	
28
-	<select id="selectJobList" parameterType="SysJob" resultMap="SysJobResult">
28
+	<select id="selectJobList" parameterType="com.ruoyi.quartz.domain.SysJob" resultMap="SysJobResult">
29 29
 		<include refid="selectJobVo"/>
30 30
 		<where>
31 31
 			<if test="jobName != null and jobName != ''">
@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
63 63
         </foreach> 
64 64
  	</delete>
65 65
  	
66
- 	<update id="updateJob" parameterType="SysJob">
66
+ 	<update id="updateJob" parameterType="com.ruoyi.quartz.domain.SysJob">
67 67
  		update ms_sys_job
68 68
  		<set>
69 69
  			<if test="jobName != null and jobName != ''">job_name = #{jobName},</if>
@@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
80 80
  		where job_id = #{jobId}
81 81
 	</update>
82 82
  	
83
- 	<insert id="insertJob" parameterType="SysJob" useGeneratedKeys="true" keyProperty="jobId">
83
+ 	<insert id="insertJob" parameterType="com.ruoyi.quartz.domain.SysJob" useGeneratedKeys="true" keyProperty="jobId">
84 84
  		insert into ms_sys_job(
85 85
  			<if test="jobId != null and jobId != 0">job_id,</if>
86 86
  			<if test="jobName != null and jobName != ''">job_name,</if>

+ 1
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/mapper/miniprogress/IdentityAuthenticationMapper.java View File

@@ -5,6 +5,7 @@ import com.ruoyi.wisdomarbitrate.domain.dto.miniprogress.IdentityAuthentication;
5 5
 public interface IdentityAuthenticationMapper {
6 6
     int insertIdentityAuthentication(IdentityAuthentication identityAuthentication);
7 7
     IdentityAuthentication  selectIdentityAuthentication(IdentityAuthentication identityAuthentication);
8
+    Integer  selectCountIdentityAuthentication(IdentityAuthentication identityAuthentication);
8 9
 
9 10
 
10 11
     void updateIdentityAuthentication(IdentityAuthentication ientityAuthentication);

+ 2
- 2
ruoyi-system/src/main/resources/generator/config.properties View File

@@ -3,10 +3,10 @@ jdbc.url=jdbc:mysql://121.40.189.20:3306/mediation_system?serverTimezone=Asia/Sh
3 3
 jdbc.user=root
4 4
 jdbc.password=YMzc157#
5 5
 #目标模块项目路径
6
-targetprojectpath=D:/ymPro/Mediation-Backend/ruoyi-system
6
+targetprojectpath=D:/ymPro/Mediation-Backend/ruoyi-system/src/main/resources/mapper/wisdomarbitrate
7 7
 #模块名称
8 8
 moduleName=mscase
9 9
 #表名
10
-tableName=ms_case_application
10
+tableName=ms_case_affiliate
11 11
 #主键
12 12
 premaryId=id

+ 3
- 3
ruoyi-system/src/main/resources/generator/generatorConfig.xml View File

@@ -21,13 +21,13 @@
21 21
                         password="${jdbc.password}">
22 22
         </jdbcConnection>
23 23
         <!--实体-->
24
-        <javaModelGenerator targetPackage="com.ruoyi.system.domain.entity.${moduleName}"
24
+        <javaModelGenerator targetPackage="com.ruoyi.wisdomarbitrate.domain.entity.${moduleName}"
25 25
                             targetProject="src/main/java"/>
26 26
         <!--mapper.xml-->
27
-        <sqlMapGenerator targetPackage="com.ruoyi.system.mapper.${moduleName}"
27
+        <sqlMapGenerator targetPackage="mapper.wisdomarbitrate.${moduleName}"
28 28
                          targetProject="src/main/resources"/>
29 29
         <!--mapper接口-->
30
-        <javaClientGenerator targetPackage="com.ruoyi.system.mapper.${moduleName}"
30
+        <javaClientGenerator targetPackage="com.ruoyi.wisdomarbitrate.mapper.${moduleName}"
31 31
                              targetProject="src/main/java"
32 32
                              type="XMLMAPPER"/>
33 33
         <!--需要生成的数据库表-->

+ 5
- 5
ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysConfigMapper">
6 6
     
7
-    <resultMap type="SysConfig" id="SysConfigResult">
7
+    <resultMap type="com.ruoyi.system.domain.SysConfig" id="SysConfigResult">
8 8
     	<id     property="configId"      column="config_id"      />
9 9
         <result property="configName"    column="config_name"    />
10 10
         <result property="configKey"     column="config_key"     />
@@ -33,12 +33,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
33 33
 		</where>
34 34
 	</sql>
35 35
     
36
-    <select id="selectConfig" parameterType="SysConfig" resultMap="SysConfigResult">
36
+    <select id="selectConfig" parameterType="com.ruoyi.system.domain.SysConfig" resultMap="SysConfigResult">
37 37
         <include refid="selectConfigVo"/>
38 38
         <include refid="sqlwhereSearch"/>
39 39
     </select>
40 40
     
41
-    <select id="selectConfigList" parameterType="SysConfig" resultMap="SysConfigResult">
41
+    <select id="selectConfigList" parameterType="com.ruoyi.system.domain.SysConfig" resultMap="SysConfigResult">
42 42
         <include refid="selectConfigVo"/>
43 43
         <where>
44 44
 			<if test="configName != null and configName != ''">
@@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
69 69
         where config_key = #{configKey} limit 1
70 70
     </select>
71 71
     
72
-    <insert id="insertConfig" parameterType="SysConfig">
72
+    <insert id="insertConfig" parameterType="com.ruoyi.system.domain.SysConfig">
73 73
         insert into ms_sys_config (
74 74
 			<if test="configName != null and configName != '' ">config_name,</if>
75 75
 			<if test="configKey != null and configKey != '' ">config_key,</if>
@@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
89 89
 		)
90 90
     </insert>
91 91
 	 
92
-    <update id="updateConfig" parameterType="SysConfig">
92
+    <update id="updateConfig" parameterType="com.ruoyi.system.domain.SysConfig">
93 93
         update ms_sys_config 
94 94
         <set>
95 95
             <if test="configName != null and configName != ''">config_name = #{configName},</if>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysDeptMapper">
6 6
 
7
-	<resultMap type="SysDept" id="SysDeptResult">
7
+	<resultMap type="com.ruoyi.common.core.domain.entity.SysDept" id="SysDeptResult">
8 8
 		<id     property="deptId"     column="dept_id"     />
9 9
 		<result property="parentId"   column="parent_id"   />
10 10
 		<result property="ancestors"  column="ancestors"   />
@@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
28 28
         from ms_sys_dept d
29 29
     </sql>
30 30
     
31
-	<select id="selectDeptList" parameterType="SysDept" resultMap="SysDeptResult">
31
+	<select id="selectDeptList" parameterType="com.ruoyi.common.core.domain.entity.SysDept" resultMap="SysDeptResult">
32 32
         <include refid="selectDeptVo"/>
33 33
         where d.del_flag = '0'
34 34
 		<if test="deptId != null and deptId != 0">
@@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
92 92
 		join ms_sys_user u on r.role_id=#{roleId} and r.user_id=u.user_id
93 93
 	</select>
94 94
 
95
-	<insert id="insertDept" parameterType="SysDept" useGeneratedKeys="true" keyColumn="dept_id" keyProperty="deptId">
95
+	<insert id="insertDept" parameterType="com.ruoyi.common.core.domain.entity.SysDept" useGeneratedKeys="true" keyColumn="dept_id" keyProperty="deptId">
96 96
  		insert into ms_sys_dept(
97 97
  			<if test="deptId != null and deptId != 0">dept_id,</if>
98 98
  			<if test="parentId != null and parentId != 0">parent_id,</if>
@@ -155,7 +155,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
155 155
 
156 156
 	</insert>
157 157
 
158
-    <update id="updateDept" parameterType="SysDept">
158
+    <update id="updateDept" parameterType="com.ruoyi.common.core.domain.entity.SysDept">
159 159
  		update ms_sys_dept
160 160
  		<set>
161 161
  			<if test="parentId != null and parentId != 0">parent_id = #{parentId},</if>

+ 5
- 5
ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysDictDataMapper">
6 6
 	
7
-	<resultMap type="SysDictData" id="SysDictDataResult">
7
+	<resultMap type="com.ruoyi.common.core.domain.entity.SysDictData" id="SysDictDataResult">
8 8
 		<id     property="dictCode"   column="dict_code"   />
9 9
 		<result property="dictSort"   column="dict_sort"   />
10 10
 		<result property="dictLabel"  column="dict_label"  />
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
25 25
 		from ms_sys_dict_data
26 26
     </sql>
27 27
 
28
-	<select id="selectDictDataList" parameterType="SysDictData" resultMap="SysDictDataResult">
28
+	<select id="selectDictDataList" parameterType="com.ruoyi.common.core.domain.entity.SysDictData" resultMap="SysDictDataResult">
29 29
 	    <include refid="selectDictDataVo"/>
30 30
 		<where>
31 31
 		    <if test="dictType != null and dictType != ''">
@@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
41 41
 		order by dict_sort asc
42 42
 	</select>
43 43
 	
44
-	<select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
44
+	<select id="selectDictDataByType" parameterType="com.ruoyi.common.core.domain.entity.SysDictData" resultMap="SysDictDataResult">
45 45
 		<include refid="selectDictDataVo"/>
46 46
 		where status = '0' and dict_type = #{dictType} order by dict_sort asc
47 47
 	</select>
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
71 71
         </foreach> 
72 72
  	</delete>
73 73
 	
74
-	<update id="updateDictData" parameterType="SysDictData">
74
+	<update id="updateDictData" parameterType="com.ruoyi.common.core.domain.entity.SysDictData">
75 75
  		update ms_sys_dict_data
76 76
  		<set>
77 77
  			<if test="dictSort != null">dict_sort = #{dictSort},</if>
@@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
93 93
  		update ms_sys_dict_data set dict_type = #{newDictType} where dict_type = #{oldDictType}
94 94
 	</update>
95 95
  	
96
- 	<insert id="insertDictData" parameterType="SysDictData">
96
+ 	<insert id="insertDictData" parameterType="com.ruoyi.common.core.domain.entity.SysDictData">
97 97
  		insert into ms_sys_dict_data(
98 98
  			<if test="dictSort != null">dict_sort,</if>
99 99
  			<if test="dictLabel != null and dictLabel != ''">dict_label,</if>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysDictTypeMapper">
6 6
 
7
-	<resultMap type="SysDictType" id="SysDictTypeResult">
7
+	<resultMap type="com.ruoyi.common.core.domain.entity.SysDictType" id="SysDictTypeResult">
8 8
 		<id     property="dictId"     column="dict_id"     />
9 9
 		<result property="dictName"   column="dict_name"   />
10 10
 		<result property="dictType"   column="dict_type"   />
@@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
20 20
 		from ms_sys_dict_type
21 21
     </sql>
22 22
 
23
-	<select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult">
23
+	<select id="selectDictTypeList" parameterType="com.ruoyi.common.core.domain.entity.SysDictType" resultMap="SysDictTypeResult">
24 24
 	    <include refid="selectDictTypeVo"/>
25 25
 		<where>
26 26
 		    <if test="dictName != null and dictName != ''">
@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
71 71
         </foreach> 
72 72
  	</delete>
73 73
 
74
- 	<update id="updateDictType" parameterType="SysDictType">
74
+ 	<update id="updateDictType" parameterType="com.ruoyi.common.core.domain.entity.SysDictType">
75 75
  		update ms_sys_dict_type
76 76
  		<set>
77 77
  			<if test="dictName != null and dictName != ''">dict_name = #{dictName},</if>
@@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
84 84
  		where dict_id = #{dictId}
85 85
 	</update>
86 86
  	
87
- 	<insert id="insertDictType" parameterType="SysDictType">
87
+ 	<insert id="insertDictType" parameterType="com.ruoyi.common.core.domain.entity.SysDictType">
88 88
  		insert into ms_sys_dict_type(
89 89
  			<if test="dictName != null and dictName != ''">dict_name,</if>
90 90
  			<if test="dictType != null and dictType != ''">dict_type,</if>

+ 3
- 3
ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysLogininforMapper">
6 6
 
7
-	<resultMap type="SysLogininfor" id="SysLogininforResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysLogininfor" id="SysLogininforResult">
8 8
 		<id     property="infoId"        column="info_id"           />
9 9
 		<result property="userName"      column="user_name"         />
10 10
 		<result property="status"        column="status"            />
@@ -16,12 +16,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
16 16
 		<result property="loginTime"     column="login_time"        />
17 17
 	</resultMap>
18 18
 
19
-	<insert id="insertLogininfor" parameterType="SysLogininfor">
19
+	<insert id="insertLogininfor" parameterType="com.ruoyi.system.domain.SysLogininfor">
20 20
 		insert into ms_sys_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time)
21 21
 		values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate())
22 22
 	</insert>
23 23
 	
24
-	<select id="selectLogininforList" parameterType="SysLogininfor" resultMap="SysLogininforResult">
24
+	<select id="selectLogininforList" parameterType="com.ruoyi.system.domain.SysLogininfor" resultMap="SysLogininforResult">
25 25
 		select info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time from ms_sys_logininfor
26 26
 		<where>
27 27
 			<if test="ipaddr != null and ipaddr != ''">

+ 6
- 6
ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml View File

@@ -4,7 +4,7 @@
4 4
 		"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysMenuMapper">
6 6
 
7
-	<resultMap type="SysMenu" id="SysMenuResult">
7
+	<resultMap type="com.ruoyi.common.core.domain.entity.SysMenu" id="SysMenuResult">
8 8
 		<id     property="menuId"         column="menu_id"        />
9 9
 		<result property="menuName"       column="menu_name"      />
10 10
 		<result property="parentName"     column="parent_name"    />
@@ -32,7 +32,7 @@
32 32
 		from ms_sys_menu
33 33
     </sql>
34 34
     
35
-    <select id="selectMenuList" parameterType="SysMenu" resultMap="SysMenuResult">
35
+    <select id="selectMenuList" parameterType="com.ruoyi.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
36 36
 		<include refid="selectMenuVo"/>
37 37
 		<where>
38 38
 			<if test="menuName != null and menuName != ''">
@@ -54,7 +54,7 @@
54 54
 		order by m.parent_id, m.order_num
55 55
 	</select>
56 56
 	
57
-	<select id="selectMenuListByUserId" parameterType="SysMenu" resultMap="SysMenuResult">
57
+	<select id="selectMenuListByUserId" parameterType="com.ruoyi.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
58 58
 		select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time
59 59
 		from ms_sys_menu m
60 60
 		left join ms_ms_sys_role_menu rm on m.menu_id = rm.menu_id
@@ -127,12 +127,12 @@
127 127
 	    select count(1) from ms_sys_menu where parent_id = #{menuId}  
128 128
 	</select>
129 129
 	
130
-	<select id="checkMenuNameUnique" parameterType="SysMenu" resultMap="SysMenuResult">
130
+	<select id="checkMenuNameUnique" parameterType="com.ruoyi.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
131 131
 		<include refid="selectMenuVo"/>
132 132
 		where menu_name=#{menuName} and parent_id = #{parentId} limit 1
133 133
 	</select>
134 134
 	
135
-	<update id="updateMenu" parameterType="SysMenu">
135
+	<update id="updateMenu" parameterType="com.ruoyi.common.core.domain.entity.SysMenu">
136 136
 		update ms_sys_menu
137 137
 		<set>
138 138
 			<if test="menuName != null and menuName != ''">menu_name = #{menuName},</if>
@@ -155,7 +155,7 @@
155 155
 		where menu_id = #{menuId}
156 156
 	</update>
157 157
 
158
-	<insert id="insertMenu" parameterType="SysMenu">
158
+	<insert id="insertMenu" parameterType="com.ruoyi.common.core.domain.entity.SysMenu">
159 159
 		insert into ms_sys_menu(
160 160
 		<if test="menuId != null and menuId != 0">menu_id,</if>
161 161
 		<if test="parentId != null and parentId != 0">parent_id,</if>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysNoticeMapper">
6 6
     
7
-    <resultMap type="SysNotice" id="SysNoticeResult">
7
+    <resultMap type="com.ruoyi.system.domain.SysNotice" id="SysNoticeResult">
8 8
         <result property="noticeId"       column="notice_id"       />
9 9
         <result property="noticeTitle"    column="notice_title"    />
10 10
         <result property="noticeType"     column="notice_type"     />
@@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
27 27
         where notice_id = #{noticeId}
28 28
     </select>
29 29
     
30
-    <select id="selectNoticeList" parameterType="SysNotice" resultMap="SysNoticeResult">
30
+    <select id="selectNoticeList" parameterType="com.ruoyi.system.domain.SysNotice" resultMap="SysNoticeResult">
31 31
         <include refid="selectNoticeVo"/>
32 32
         <where>
33 33
 			<if test="noticeTitle != null and noticeTitle != ''">
@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
42 42
 		</where>
43 43
     </select>
44 44
     
45
-    <insert id="insertNotice" parameterType="SysNotice">
45
+    <insert id="insertNotice" parameterType="com.ruoyi.system.domain.SysNotice">
46 46
         insert into ms_sys_notice (
47 47
 			<if test="noticeTitle != null and noticeTitle != '' ">notice_title, </if>
48 48
 			<if test="noticeType != null and noticeType != '' ">notice_type, </if>
@@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
62 62
 		)
63 63
     </insert>
64 64
 	 
65
-    <update id="updateNotice" parameterType="SysNotice">
65
+    <update id="updateNotice" parameterType="com.ruoyi.system.domain.SysNotice">
66 66
         update ms_sys_notice 
67 67
         <set>
68 68
             <if test="noticeTitle != null and noticeTitle != ''">notice_title = #{noticeTitle}, </if>

+ 3
- 3
ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysOperLogMapper">
6 6
 
7
-	<resultMap type="SysOperLog" id="SysOperLogResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysOperLog" id="SysOperLogResult">
8 8
 		<id     property="operId"         column="oper_id"        />
9 9
 		<result property="title"          column="title"          />
10 10
 		<result property="businessType"   column="business_type"  />
@@ -29,12 +29,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
29 29
         from ms_sys_oper_log
30 30
     </sql>
31 31
     
32
-	<insert id="insertOperlog" parameterType="SysOperLog">
32
+	<insert id="insertOperlog" parameterType="com.ruoyi.system.domain.SysOperLog">
33 33
 		insert into ms_sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, cost_time, oper_time)
34 34
         values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, sysdate())
35 35
 	</insert>
36 36
 	
37
-	<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
37
+	<select id="selectOperLogList" parameterType="com.ruoyi.system.domain.SysOperLog" resultMap="SysOperLogResult">
38 38
 		<include refid="selectOperLogVo"/>
39 39
 		<where>
40 40
 			<if test="title != null and title != ''">

+ 4
- 4
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysPostMapper">
6 6
 
7
-	<resultMap type="SysPost" id="SysPostResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysPost" id="SysPostResult">
8 8
 		<id     property="postId"        column="post_id"       />
9 9
 		<result property="postCode"      column="post_code"     />
10 10
 		<result property="postName"      column="post_name"     />
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
22 22
 		from ms_sys_post
23 23
     </sql>
24 24
 	
25
-	<select id="selectPostList" parameterType="SysPost" resultMap="SysPostResult">
25
+	<select id="selectPostList" parameterType="com.ruoyi.system.domain.SysPost" resultMap="SysPostResult">
26 26
 	    <include refid="selectPostVo"/>
27 27
 		<where>
28 28
 			<if test="postCode != null and postCode != ''">
@@ -77,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
77 77
 		 where post_code=#{postCode} limit 1
78 78
 	</select>
79 79
 	
80
-	<update id="updatePost" parameterType="SysPost">
80
+	<update id="updatePost" parameterType="com.ruoyi.system.domain.SysPost">
81 81
  		update ms_sys_post
82 82
  		<set>
83 83
  			<if test="postCode != null and postCode != ''">post_code = #{postCode},</if>
@@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
91 91
  		where post_id = #{postId}
92 92
 	</update>
93 93
  	
94
- 	<insert id="insertPost" parameterType="SysPost" useGeneratedKeys="true" keyProperty="postId">
94
+ 	<insert id="insertPost" parameterType="com.ruoyi.system.domain.SysPost" useGeneratedKeys="true" keyProperty="postId">
95 95
  		insert into ms_sys_post(
96 96
  			<if test="postId != null and postId != 0">post_id,</if>
97 97
  			<if test="postCode != null and postCode != ''">post_code,</if>

+ 1
- 1
ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysRoleDeptMapper">
6 6
 
7
-	<resultMap type="SysRoleDept" id="SysRoleDeptResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysRoleDept" id="SysRoleDeptResult">
8 8
 		<result property="roleId"     column="role_id"      />
9 9
 		<result property="deptId"     column="dept_id"      />
10 10
 	</resultMap>

+ 6
- 6
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysRoleMapper">
6 6
 
7
-	<resultMap type="SysRole" id="SysRoleResult">
7
+	<resultMap type="com.ruoyi.common.core.domain.entity.SysRole" id="SysRoleResult">
8 8
 		<id     property="roleId"             column="role_id"               />
9 9
 		<result property="roleName"           column="role_name"             />
10 10
 		<result property="roleKey"            column="role_key"              />
@@ -25,12 +25,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
25 25
 	    select distinct r.role_id, r.role_name, r.role_key, r.role_sort, r.data_scope, r.menu_check_strictly, r.dept_check_strictly,
26 26
             r.status, r.del_flag, r.create_time, r.remark 
27 27
         from ms_sys_role r
28
-	        left join ms_ms_sys_user_role ur on ur.role_id = r.role_id
28
+	        left join ms_sys_user_role ur on ur.role_id = r.role_id
29 29
 	        left join ms_sys_user u on u.user_id = ur.user_id
30 30
 	        left join ms_sys_dept d on u.dept_id = d.dept_id
31 31
     </sql>
32 32
     
33
-    <select id="selectRoleList" parameterType="SysRole" resultMap="SysRoleResult">
33
+    <select id="selectRoleList" parameterType="com.ruoyi.common.core.domain.entity.SysRole" resultMap="SysRoleResult">
34 34
 		<include refid="selectRoleVo"/>
35 35
 		where r.del_flag = '0'
36 36
 		<if test="roleId != null and roleId != 0">
@@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
68 68
 	<select id="selectRoleListByUserId" parameterType="Long" resultType="Long">
69 69
 		select r.role_id
70 70
         from ms_sys_role r
71
-	        left join ms_ms_sys_user_role ur on ur.role_id = r.role_id
71
+	        left join ms_sys_user_role ur on ur.role_id = r.role_id
72 72
 	        left join ms_sys_user u on u.user_id = ur.user_id
73 73
 	    where u.user_id = #{userId}
74 74
 	</select>
@@ -96,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
96 96
 		select role_id from ms_sys_role where role_name=#{roleName}
97 97
 	</select>
98 98
 
99
-	<insert id="insertRole" parameterType="SysRole" useGeneratedKeys="true" keyProperty="roleId">
99
+	<insert id="insertRole" parameterType="com.ruoyi.common.core.domain.entity.SysRole" useGeneratedKeys="true" keyProperty="roleId">
100 100
  		insert into ms_sys_role(
101 101
  			<if test="roleId != null and roleId != 0">role_id,</if>
102 102
  			<if test="roleName != null and roleName != ''">role_name,</if>
@@ -124,7 +124,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
124 124
  		)
125 125
 	</insert>
126 126
 	
127
-	<update id="updateRole" parameterType="SysRole">
127
+	<update id="updateRole" parameterType="com.ruoyi.common.core.domain.entity.SysRole">
128 128
  		update ms_sys_role
129 129
  		<set>
130 130
  			<if test="roleName != null and roleName != ''">role_name = #{roleName},</if>

+ 1
- 1
ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysRoleMenuMapper">
6 6
 
7
-	<resultMap type="SysRoleMenu" id="SysRoleMenuResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysRoleMenu" id="SysRoleMenuResult">
8 8
 		<result property="roleId"     column="role_id"      />
9 9
 		<result property="menuId"     column="menu_id"      />
10 10
 	</resultMap>

+ 11
- 34
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysUserMapper">
6 6
 
7
-    <resultMap type="SysUser" id="SysUserResult">
7
+    <resultMap type="com.ruoyi.common.core.domain.entity.SysUser" id="SysUserResult">
8 8
         <id     property="userId"       column="user_id"      />
9 9
         <result property="deptId"       column="dept_id"      />
10 10
         <result property="userName"     column="user_name"    />
@@ -25,11 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
25 25
         <result property="updateTime"   column="update_time"  />
26 26
         <result property="remark"       column="remark"       />
27 27
         <result property="specialty"       column="specialty"       />
28
-        <association property="dept"    javaType="SysDept"         resultMap="deptResult" />
28
+        <association property="dept"    javaType="com.ruoyi.common.core.domain.entity.SysDept"         resultMap="deptResult" />
29 29
         <collection  property="roles"   javaType="java.util.List"  resultMap="RoleResult" />
30 30
     </resultMap>
31 31
 	
32
-    <resultMap id="deptResult" type="SysDept">
32
+    <resultMap id="deptResult" type="com.ruoyi.common.core.domain.entity.SysDept">
33 33
         <id     property="deptId"    column="dept_id"     />
34 34
         <result property="parentId"  column="parent_id"   />
35 35
         <result property="deptName"  column="dept_name"   />
@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
40 40
 
41 41
     </resultMap>
42 42
 	
43
-    <resultMap id="RoleResult" type="SysRole">
43
+    <resultMap id="RoleResult" type="com.ruoyi.common.core.domain.entity.SysRole">
44 44
         <id     property="roleId"       column="role_id"        />
45 45
         <result property="roleName"     column="role_name"      />
46 46
         <result property="roleKey"      column="role_key"       />
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
59 59
 		    left join ms_sys_role r on r.role_id = ur.role_id
60 60
     </sql>
61 61
     
62
-    <select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
62
+    <select id="selectUserList" parameterType="com.ruoyi.common.core.domain.entity.SysUser"resultMap="SysUserResult">
63 63
 		select u.user_id, u.dept_id, u.nick_name, u.user_name,u.specialty,u.id_card, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name,
64 64
 		 d.leader , r.role_id, r.role_name, d.dept_id
65 65
 		from ms_sys_user u
@@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
92 92
 		${params.dataScope}
93 93
 	</select>
94 94
 	
95
-	<select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
95
+	<select id="selectAllocatedList" parameterType="com.ruoyi.common.core.domain.entity.SysUser"resultMap="SysUserResult">
96 96
 	    select distinct u.user_id, u.dept_id, u.user_name, u.nick_name,u.specialty,u.id_card, u.email, u.phonenumber, u.status, u.create_time
97 97
 	    from ms_sys_user u
98 98
 			 left join ms_sys_dept d on u.dept_id = d.dept_id
@@ -109,7 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
109 109
 		${params.dataScope}
110 110
 	</select>
111 111
 	
112
-	<select id="selectUnallocatedList" parameterType="SysUser" resultMap="SysUserResult">
112
+	<select id="selectUnallocatedList" parameterType="com.ruoyi.common.core.domain.entity.SysUser"resultMap="SysUserResult">
113 113
 	    select distinct u.user_id, u.dept_id, u.user_name, u.nick_name,u.specialty,u.id_card, u.email, u.phonenumber, u.status, u.create_time
114 114
 	    from ms_sys_user u
115 115
 			 left join ms_sys_dept d on u.dept_id = d.dept_id
@@ -156,25 +156,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
156 156
 	
157 157
 	<select id="checkEmailUnique" parameterType="String" resultMap="SysUserResult">
158 158
 		select user_id, email from ms_sys_user where email = #{email} and del_flag = '0' limit 1
159
-	</select>
160
-	<select id="selectUserListByAdRole" resultMap="SysUserResult">
161
-		select u.user_id, u.dept_id, u.nick_name, u.user_name,u.specialty,u.id_card, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark from ms_sys_user u
162
-		 join ms_sys_user_role ur on ur.user_id =u.user_id
163
-		    join ms_sys_role r on ur.role_id = r.role_id and r.role_name='仲裁员'
164
-		where r.del_flag = '0' and r.status='0'
165
-		and u.del_flag = '0' and u.status='0'
166
-			<if test="arbitratorName != null and arbitratorName != ''">
167
-				AND u.nick_name like concat('%', #{arbitratorName}, '%')
168
-			</if>
169
-
170
-			<if test="idList != null and idList.size() > 0">
171
-				AND u.user_id in
172
-				<foreach item="id" collection="idList" open="(" separator="," close=")">
173
-					#{id}
174
-				</foreach>
175
-			</if>
176
-
177
-
178 159
 	</select>
179 160
 	<select id="selectUserListByIds" resultMap="SysUserResult">
180 161
 		select u.user_id,  u.nick_name, u.user_name,u.id_card,u.specialty, u.phonenumber, u.remark from ms_sys_user u
@@ -216,7 +197,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
216 197
 	</select>
217 198
 
218 199
 
219
-    <insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
200
+    <insert id="insertUser" parameterType="com.ruoyi.common.core.domain.entity.SysUser"useGeneratedKeys="true" keyProperty="userId">
220 201
  		insert into ms_sys_user(
221 202
  			<if test="userId != null and userId != 0">user_id,</if>
222 203
  			<if test="deptId != null and deptId != 0">dept_id,</if>
@@ -290,7 +271,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
290 271
 		</foreach>;
291 272
 	</insert>
292 273
 
293
-    <update id="updateUser" parameterType="SysUser">
274
+    <update id="updateUser" parameterType="com.ruoyi.common.core.domain.entity.SysUser">
294 275
  		update ms_sys_user
295 276
  		<set>
296 277
  			<if test="deptId != null and deptId != 0">dept_id = #{deptId},</if>
@@ -313,15 +294,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
313 294
  		where user_id = #{userId}
314 295
 	</update>
315 296
 	
316
-	<update id="updateUserStatus" parameterType="SysUser">
317
- 		update ms_sys_user set status = #{status} where user_id = #{userId}
318
-	</update>
319
-	
320
-	<update id="updateUserAvatar" parameterType="SysUser">
297
+	<update id="updateUserAvatar" parameterType="com.ruoyi.common.core.domain.entity.SysUser">
321 298
  		update ms_sys_user set avatar = #{avatar} where user_name = #{userName}
322 299
 	</update>
323 300
 	
324
-	<update id="resetUserPwd" parameterType="SysUser">
301
+	<update id="resetUserPwd" parameterType="com.ruoyi.common.core.domain.entity.SysUser">
325 302
  		update ms_sys_user set password = #{password} where user_name = #{userName}
326 303
 	</update>
327 304
 	

+ 1
- 1
ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysUserPostMapper">
6 6
 
7
-	<resultMap type="SysUserPost" id="SysUserPostResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysUserPost" id="SysUserPostResult">
8 8
 		<result property="userId"     column="user_id"      />
9 9
 		<result property="postId"     column="post_id"      />
10 10
 	</resultMap>

+ 2
- 2
ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml View File

@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.system.mapper.SysUserRoleMapper">
6 6
 
7
-	<resultMap type="SysUserRole" id="SysUserRoleResult">
7
+	<resultMap type="com.ruoyi.system.domain.SysUserRole" id="SysUserRoleResult">
8 8
 		<result property="userId"     column="user_id"      />
9 9
 		<result property="roleId"     column="role_id"      />
10 10
 	</resultMap>
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
31 31
 		</foreach>
32 32
 	</insert>
33 33
 	
34
-	<delete id="deleteUserRoleInfo" parameterType="SysUserRole">
34
+	<delete id="deleteUserRoleInfo" parameterType="com.ruoyi.system.domain.SysUserRole">
35 35
 		delete from ms_sys_user_role where user_id=#{userId} and role_id=#{roleId}
36 36
 	</delete>
37 37
 	

+ 5
- 5
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/casenumrule/CaseNumRuleMapper.xml View File

@@ -13,7 +13,7 @@
13 13
         <result column="dept_name_firchar" property="deptNameFirchar" />
14 14
     </resultMap>
15 15
 
16
-    <insert id="insertCaseNumRule" parameterType="CaseNumRule" useGeneratedKeys="true" keyProperty="id">
16
+    <insert id="insertCaseNumRule" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.casenumrule.CaseNumRule" useGeneratedKeys="true" keyProperty="id">
17 17
         insert into ms_case_num_rule(
18 18
         <if test="ruleType != null">rule_type,</if>
19 19
         <if test="prefixstr != null and prefixstr != '' ">prefixstr,</if>
@@ -35,7 +35,7 @@
35 35
         )
36 36
     </insert>
37 37
 
38
-    <update id="updateCaseNumRule" parameterType="CaseNumRule">
38
+    <update id="updateCaseNumRule" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.casenumrule.CaseNumRule">
39 39
         update ms_case_num_rule
40 40
         <set>
41 41
             <if test="ruleType != null">rule_type = #{ruleType},</if>
@@ -51,11 +51,11 @@
51 51
             </if>
52 52
         </where>
53 53
     </update>
54
-    <delete id="deleteCaseNumRule" parameterType="CaseNumRule">
54
+    <delete id="deleteCaseNumRule" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.casenumrule.CaseNumRule">
55 55
         delete from ms_case_num_rule where id = #{id}
56 56
     </delete>
57 57
 
58
-    <select id="selectCaseNumRules" parameterType="CaseNumRule" resultMap="BaseResultMap">
58
+    <select id="selectCaseNumRules" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.casenumrule.CaseNumRule" resultMap="BaseResultMap">
59 59
         SELECT  id, rule_type ,prefixstr , date_format,dept_name,dept_name_firchar,current_num
60 60
         FROM  ms_case_num_rule
61 61
         <where>
@@ -90,7 +90,7 @@
90 90
         </where>
91 91
     </select>
92 92
 
93
-    <select id="selectCaseNumRule" parameterType="CaseNumRule" resultMap="BaseResultMap">
93
+    <select id="selectCaseNumRule" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.casenumrule.CaseNumRule" resultMap="BaseResultMap">
94 94
         SELECT  id, rule_type ,prefixstr , date_format,dept_name,dept_name_firchar,current_num
95 95
         FROM  ms_case_num_rule
96 96
         <where>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/dept/DeptIdentifyMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.dept.DeptIdentifyMapper">
6
-    <resultMap type="DeptIdentify" id="DeptIdentifyResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.dept.DeptIdentify" id="DeptIdentifyResult">
7 7
         <id     property="id"       column="id"      />
8 8
         <result property="identifyStatus"     column="identify_status"    />
9 9
         <result property="identifyDate"        column="identify_date"        />
@@ -25,7 +25,7 @@
25 25
     </resultMap>
26 26
 
27 27
 
28
-    <select id="selectDeptIdentify" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
28
+    <select id="selectDeptIdentify" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.DeptIdentify" resultMap="DeptIdentifyResult">
29 29
         SELECT  id, identify_name ,identify_status , identify_date,is_use,org_id,auth_flow_id,
30 30
                 oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone
31 31
                ,identify_email,dept_id ,user_id
@@ -56,7 +56,7 @@
56 56
     </select>
57 57
 
58 58
 
59
-    <insert id="insertDeptIdentify" parameterType="DeptIdentify" useGeneratedKeys="true" keyProperty="id">
59
+    <insert id="insertDeptIdentify" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.DeptIdentify" useGeneratedKeys="true" keyProperty="id">
60 60
         insert into ms_dept_identify(
61 61
         <if test="identifyName != null and identifyName != ''">identify_name,</if>
62 62
         <if test="identifyStatus != null">identify_status,</if>
@@ -99,7 +99,7 @@
99 99
 
100 100
 
101 101
 
102
-    <update id="updateDeptIdentify" parameterType="DeptIdentify">
102
+    <update id="updateDeptIdentify" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.DeptIdentify">
103 103
         update ms_dept_identify
104 104
         <set>
105 105
             <if test="identifyDate != null">identify_date = #{identifyDate},</if>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/dept/SealManageMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.dept.SealManageMapper">
6
-    <resultMap type="SealManage" id="SealManageResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" id="SealManageResult">
7 7
         <id     property="id"       column="id"      />
8 8
         <result property="identifyId"     column="identify_id"    />
9 9
         <result property="sealName"        column="seal_name"        />
@@ -13,7 +13,7 @@
13 13
         <result property="isUse"     column="is_use"     />
14 14
     </resultMap>
15 15
 
16
-    <select id="selectSealList" parameterType="SealManage" resultMap="SealManageResult">
16
+    <select id="selectSealList" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" resultMap="SealManageResult">
17 17
         SELECT  id, identify_id ,seal_name , seal_id,annex_id,seal_status,is_use
18 18
         FROM  ms_seal_manage
19 19
         <where>
@@ -27,7 +27,7 @@
27 27
     </select>
28 28
 
29 29
 
30
-    <insert id="insertSealManage" parameterType="SealManage" useGeneratedKeys="true" keyProperty="id">
30
+    <insert id="insertSealManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" useGeneratedKeys="true" keyProperty="id">
31 31
         insert into ms_seal_manage(
32 32
         <if test="identifyId != null">identify_id,</if>
33 33
         <if test="sealName != null and sealName != ''">seal_name,</if>
@@ -45,7 +45,7 @@
45 45
         )
46 46
     </insert>
47 47
 
48
-    <update id="updateSealManage" parameterType="SealManage">
48
+    <update id="updateSealManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage">
49 49
         update ms_seal_manage
50 50
         <set>
51 51
             <if test="identifyId != null">identify_id = #{identifyId},</if>

+ 3
- 3
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/miniprogress/IdentityAuthenticationMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.miniprogress.IdentityAuthenticationMapper">
6
-    <resultMap type="IdentityAuthentication" id="IdentityAuthenticationResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.miniprogress.IdentityAuthentication" id="IdentityAuthenticationResult">
7 7
         <id     property="id"       column="id"      />
8 8
         <result property="name"       column="name"      />
9 9
         <result property="identityNo"     column="identity_no"    />
@@ -15,7 +15,7 @@
15 15
 
16 16
     </resultMap>
17 17
 
18
-    <insert id="insertIdentityAuthentication" parameterType="IdentityAuthentication" useGeneratedKeys="true" keyProperty="id">
18
+    <insert id="insertIdentityAuthentication" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.miniprogress.IdentityAuthentication" useGeneratedKeys="true" keyProperty="id">
19 19
         insert into ms_identi_authenti(
20 20
         <if test="userId != null">user_id,</if>
21 21
         <if test="idAddress != null and idAddress != ''">id_address,</if>
@@ -50,7 +50,7 @@
50 50
         where id = #{id}
51 51
     </update>
52 52
 
53
-    <select id="selectIdentityAuthentication" parameterType="IdentityAuthentication" resultMap="IdentityAuthenticationResult">
53
+    <select id="selectIdentityAuthentication" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.miniprogress.IdentityAuthentication" resultMap="IdentityAuthenticationResult">
54 54
         SELECT  i.id ,i.name ,i.identity_no ,i.certification_time ,i.certification_status ,i.user_id ,i.user_name
55 55
         from ms_identi_authenti i
56 56
         <where>

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAffiliateLogMapper.xml View File

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
-<mapper namespace="com.ruoyi.system.mapper.mscase.MsCaseAffiliateLogMapper">
3
+<mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseAffiliateLogMapper">
4 4
   <resultMap id="BaseResultMap" type="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAffiliateLog">
5 5
     <!--
6 6
       WARNING - @mbg.generated

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseApplicationMapper.xml View File

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
-<mapper namespace="com.ruoyi.system.mapper.mscase.MsCaseApplicationMapper">
3
+<mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseApplicationMapper">
4 4
   <resultMap id="BaseResultMap" type="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseApplication">
5 5
     <!--
6 6
       WARNING - @mbg.generated

+ 3
- 3
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAttachLogMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseAttachLogMapper">
6
-    <resultMap type="CaseAttach" id="CaseAttachResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach" id="CaseAttachResult">
7 7
         <id     property="annexId"       column="annex_id"      />
8 8
         <result property="caseAppliId"       column="case_appli_id"      />
9 9
         <result property="annexName"     column="annex_name"    />
@@ -81,14 +81,14 @@
81 81
         </where>
82 82
     </select>
83 83
 
84
-    <update id="updateCaseAttach" parameterType="CaseAttach">
84
+    <update id="updateCaseAttach" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach">
85 85
         update ms_case_attach_log
86 86
         set
87 87
             case_appli_log_id= #{caseAppliLogId}
88 88
         where annex_id = #{annexId}
89 89
     </update>
90 90
 
91
-    <update id="updateCaseAttachBycaseid" parameterType="CaseAttach" >
91
+    <update id="updateCaseAttachBycaseid" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach" >
92 92
         update ms_case_attach_log
93 93
         <set>
94 94
             <if test="annexName != null and annexName != ''">annex_name = #{annexName},</if>

+ 3
- 3
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseAttachMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseAttachMapper">
6
-    <resultMap type="CaseAttach" id="CaseAttachResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach" id="CaseAttachResult">
7 7
         <id     property="annexId"       column="annex_id"      />
8 8
         <result property="caseAppliId"       column="case_appli_id"      />
9 9
         <result property="annexName"     column="annex_name"    />
@@ -96,14 +96,14 @@
96 96
         </where>
97 97
     </select>
98 98
 
99
-    <update id="updateCaseAttach" parameterType="CaseAttach">
99
+    <update id="updateCaseAttach" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach">
100 100
         update ms_case_attach
101 101
         set
102 102
         case_appli_id= #{caseAppliId}
103 103
         where annex_id = #{annexId}
104 104
     </update>
105 105
 
106
-    <update id="updateCaseAttachBycaseid" parameterType="CaseAttach" >
106
+    <update id="updateCaseAttachBycaseid" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.mscase.CaseAttach" >
107 107
         update ms_case_attach
108 108
         <set>
109 109
             <if test="annexName != null and annexName != ''">annex_name = #{annexName},</if>

+ 2
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/sendrecord/SendMailRecordMapper.xml View File

@@ -4,7 +4,7 @@
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.sendrecord.SendMailRecordMapper">
6 6
 
7
-    <resultMap type="SendMailRecord" id="SendMailRecordResult">
7
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SendMailRecord" id="SendMailRecordResult">
8 8
         <id     property="id"       column="id"      />
9 9
         <result property="mailName"       column="mail_name"      />
10 10
         <result property="mailContent"     column="mail_content"    />
@@ -16,7 +16,7 @@
16 16
 
17 17
     </resultMap>
18 18
 
19
-    <select id="selectSendMailRecord" parameterType="SendMailRecord" resultMap="SendMailRecordResult">
19
+    <select id="selectSendMailRecord" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SendMailRecord" resultMap="SendMailRecordResult">
20 20
         SELECT s.id ,s.mail_name ,s.mail_content ,s.mail_address ,s.send_time ,s.case_id ,s.create_time ,s.create_by ,
21 21
         s.update_by ,s.update_time , s.send_status ,c.case_num
22 22
         from send_mail_record s left join ms_case_application c

+ 3
- 3
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/sendrecord/SmsRecordMapper.xml View File

@@ -4,7 +4,7 @@
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 
6 6
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.sendrecord.SmsRecordMapper">
7
-    <resultMap type="SmsSendRecord" id="SmsSendRecordResult">
7
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord" id="SmsSendRecordResult">
8 8
         <id     property="id"       column="id"      />
9 9
         <result property="caseId"       column="case_appli_id"      />
10 10
         <result property="caseNum"       column="case_num"      />
@@ -17,7 +17,7 @@
17 17
         <result property="updateBy"   column="update_by"  />
18 18
         <result property="sendStatus"   column="send_status"  />
19 19
     </resultMap>
20
-    <insert id="saveSmsSendRecord" parameterType="SmsSendRecord" useGeneratedKeys="true" keyProperty="id">
20
+    <insert id="saveSmsSendRecord" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord" useGeneratedKeys="true" keyProperty="id">
21 21
 
22 22
         insert into sms_send_record(
23 23
         <if test="caseId != null ">case_appli_id,</if>
@@ -65,7 +65,7 @@
65 65
         </foreach>
66 66
     </insert>
67 67
 
68
-    <select id="getSmsSendRecord" parameterType="SmsSendRecord" resultMap="SmsSendRecordResult">
68
+    <select id="getSmsSendRecord" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord" resultMap="SmsSendRecordResult">
69 69
 
70 70
         select id ,case_appli_id ,case_num ,phone ,send_time ,send_content,send_status
71 71
         from sms_send_record

+ 7
- 7
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/FatchRuleMapper.xml View File

@@ -19,16 +19,16 @@
19 19
     <select id="listByTemplateId" resultMap="BaseResultMap">
20 20
         select f.id ,f.file_name ,f.start_content ,f.end_content ,
21 21
         f.`column` , ifnull(f.is_default,0) is_default ,f.`column_name`,ifnull(f.start_content_repeat_order,1) start_content_repeat_order,ifnull(f.end_content_repeat_order,1) end_content_repeat_order,ifnull(f.fatch_order,0) fatch_order
22
-         from ms_fatch_rule f join ms_template_fatch_rule tfr on f.id=tfr.ms_fatch_rule_id
22
+         from ms_fatch_rule f join ms_template_fatch_rule tfr on f.id=tfr.fatch_rule_id
23 23
         where tfr.template_id=#{templateId}
24 24
     </select>
25 25
 
26
-    <select id="selectFatchRuleList" parameterType="FatchRule" resultMap="BaseResultMap">
26
+    <select id="selectFatchRuleList" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.FatchRule" resultMap="BaseResultMap">
27 27
         SELECT f.id ,f.file_name ,f.start_content ,f.end_content ,
28 28
         f.`column` ,f.is_default ,f.`column_name`,f.start_content_repeat_order,f.end_content_repeat_order,f.fatch_order
29 29
         FROM ms_template_fatch_rule tf
30 30
         left join ms_template_manage t on tf.template_id  = t.id
31
-        LEFT JOIN ms_fatch_rule f on tf.ms_fatch_rule_id  = f.id
31
+        LEFT JOIN ms_fatch_rule f on tf.fatch_rule_id  = f.id
32 32
         <where>
33 33
             <if test="templateId != null">
34 34
                 AND tf.template_id  = #{templateId}
@@ -36,7 +36,7 @@
36 36
         </where>
37 37
     </select>
38 38
 
39
-    <select id="selectColumnandComment"  parameterType="FatchRule"  resultMap="BaseResultMap">
39
+    <select id="selectColumnandComment"  parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.FatchRule"  resultMap="BaseResultMap">
40 40
         select
41 41
             a.COLUMN_name as `column`,
42 42
             a.COLumn_comment as column_name
@@ -56,7 +56,7 @@
56 56
 
57 57
     </select>
58 58
 
59
-    <select id="selectColumnbycomment"  parameterType="FatchRule"  resultMap="BaseResultMap">
59
+    <select id="selectColumnbycomment"  parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.FatchRule"  resultMap="BaseResultMap">
60 60
         select
61 61
               COLUMN_NAME
62 62
         from
@@ -69,7 +69,7 @@
69 69
     </select>
70 70
 
71 71
 
72
-    <select id="selectFatchRuleListIsDefault" parameterType="FatchRule" resultMap="BaseResultMap">
72
+    <select id="selectFatchRuleListIsDefault" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.FatchRule" resultMap="BaseResultMap">
73 73
         SELECT f.id ,f.file_name ,f.start_content ,f.end_content ,
74 74
         f.`column` ,f.is_default ,f.`column_name`
75 75
         FROM ms_fatch_rule f
@@ -87,7 +87,7 @@
87 87
         </foreach>
88 88
     </delete>
89 89
 
90
-    <insert id="insertFatchRule" parameterType="FatchRule" useGeneratedKeys="true" keyProperty="id">
90
+    <insert id="insertFatchRule" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.FatchRule" useGeneratedKeys="true" keyProperty="id">
91 91
         insert into ms_fatch_rule(
92 92
         <if test="fileName != null and fileName != ''">file_name,</if>
93 93
         <if test="startContent != null and startContent != ''">start_content,</if>

+ 3
- 3
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/TemplateFatchRuleMapper.xml View File

@@ -10,7 +10,7 @@
10 10
         <result column="fatch_rule_id" property="fatchRuleId" />
11 11
     </resultMap>
12 12
 
13
-    <select id="selectTemplateFatchRulecount" parameterType="TemplateFatchRule"   resultType="Integer">
13
+    <select id="selectTemplateFatchRulecount" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule"   resultType="Integer">
14 14
         select count(1) from  ms_template_fatch_rule t
15 15
         <where>
16 16
             <if test="templateId != null">
@@ -19,7 +19,7 @@
19 19
         </where>
20 20
     </select>
21 21
 
22
-    <select id="selectTemplateFatchRuleList" parameterType="TemplateFatchRule" resultMap="BaseResultMap">
22
+    <select id="selectTemplateFatchRuleList" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule" resultMap="BaseResultMap">
23 23
         SELECT t.id ,t.template_id ,t.fatch_rule_id
24 24
         from ms_template_fatch_rule t
25 25
         <where>
@@ -35,7 +35,7 @@
35 35
 		delete from ms_template_fatch_rule where template_id=#{id}
36 36
 	</delete>
37 37
 
38
-    <insert id="insertTemplateFatchRule" parameterType="TemplateFatchRule" useGeneratedKeys="true" keyProperty="id">
38
+    <insert id="insertTemplateFatchRule" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule" useGeneratedKeys="true" keyProperty="id">
39 39
         insert into ms_template_fatch_rule(
40 40
         <if test="templateId != null">template_id,</if>
41 41
         <if test="fatchRuleId != null">fatch_rule_id</if>

+ 4
- 4
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/template/TemplateManageMapper.xml View File

@@ -3,7 +3,7 @@
3 3
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4 4
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5 5
 <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.template.TemplateManageMapper">
6
-    <resultMap type="TemplateManage" id="TemplateManageResult">
6
+    <resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.template.TemplateManage" id="TemplateManageResult">
7 7
         <id     property="id"       column="id"      />
8 8
         <result property="identifyId"     column="identify_id"    />
9 9
         <result property="temName"        column="tem_name"        />
@@ -15,7 +15,7 @@
15 15
         <result property="fileName"     column="file_name"     />
16 16
     </resultMap>
17 17
 
18
-    <insert id="insertTemplateManage" parameterType="TemplateManage" useGeneratedKeys="true" keyProperty="id">
18
+    <insert id="insertTemplateManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.TemplateManage" useGeneratedKeys="true" keyProperty="id">
19 19
         insert into ms_template_manage(
20 20
         <if test="identifyId != null">identify_id,</if>
21 21
         <if test="temName != null and temName != ''">tem_name,</if>
@@ -39,7 +39,7 @@
39 39
         )
40 40
     </insert>
41 41
 
42
-    <update id="updateTemplateManage" parameterType="TemplateManage">
42
+    <update id="updateTemplateManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.TemplateManage">
43 43
         update ms_template_manage
44 44
         <set>
45 45
             <if test="identifyId != null">identify_id = #{identifyId},</if>
@@ -61,7 +61,7 @@
61 61
         </where>
62 62
     </update>
63 63
 
64
-    <select id="selectTemplateList" parameterType="TemplateManage" resultMap="TemplateManageResult">
64
+    <select id="selectTemplateList" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.template.TemplateManage" resultMap="TemplateManageResult">
65 65
         SELECT  id, identify_id ,tem_name , tem_type,tem_format,tem_orig_path,tem_revis_path ,file_name
66 66
         FROM  ms_template_manage
67 67
         <where>