zhoux 1 год назад
Родитель
Сommit
870e05a497

+ 4 - 4
src/main/java/com/dk/mdm/mapper/mst/ComMenuMapper.xml

@@ -70,7 +70,7 @@
     <select id="countByCond" resultType="Long">
         SELECT
         count(1)
-        FROM t_mst_com_menu
+        FROM dkic_b.t_mst_com_menu
         <include refid="Condition"/>
     </select>
 
@@ -78,7 +78,7 @@
     <select id="selectById" resultMap="BaseResultMap">
         SELECT
         <include refid="Base_Column_List"/>
-        FROM t_mst_com_menu
+        FROM dkic_b.t_mst_com_menu
         WHERE menu_uuid = #{id}::uuid
     </select>
 
@@ -95,7 +95,7 @@
     <select id="selectByIdsForUpdate" resultMap="BaseResultMap">
         SELECT
         <include refid="Base_Column_List"/>
-        FROM t_mst_com_menu
+        FROM dkic_b.t_mst_com_menu
         <include refid="idsForeach"/>
         for update
     </select>
@@ -135,7 +135,7 @@
     </insert>
 
     <insert id="insertBatch">
-        insert into t_mst_com_menu
+        insert into dkic_b.t_mst_com_menu
         (
         <trim suffixOverrides=",">
             cp_id,

+ 1 - 1
src/main/java/com/dk/mdm/mapper/mst/StaffMapper.xml

@@ -10,7 +10,7 @@
         t.flg_valid,t.flg_can_login,t.hr_status,
         t.cp_id, t.op_create_time, t.op_create_user_id, t.op_update_time, t.op_update_user_id
     </sql>
-    
+
 
     <!-- 通用查询映射结果 -->
     <resultMap id="BaseResultMap" type="com.dk.common.model.response.mst.StaffResponse">

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/CusFollow.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @NoArgsConstructor
 @Accessors(chain = true)
 @ExportTitle("客户跟进")
-@TableName(value = "t_crm_cus_follow", autoResultMap = true)
+@TableName(value = "t_crm_cus_follow", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:客户跟进", description="表名:t_crm_cus_follow")
 public class CusFollow   implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/CusFollowStaff.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("客户跟进人")
-@TableName(value = "t_crm_cus_follow_staff", autoResultMap = true)
+@TableName(value = "t_crm_cus_follow_staff", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:客户跟进人", description="表名:t_crm_cus_follow_staff")
 public class CusFollowStaff extends PageInfo<CusFollowStaff> implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/MeasureReceipt.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("量尺回执")
-@TableName(value = "t_crm_measure_receipt", autoResultMap = true)
+@TableName(value = "t_crm_measure_receipt", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:量尺回执", description="表名:t_crm_measure_receipt")
 public class MeasureReceipt extends PageInfo<MeasureReceipt> implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/MeasureRoom.java

@@ -30,7 +30,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("量尺空间")
-@TableName(value = "t_crm_measure_room", autoResultMap = true)
+@TableName(value = "t_crm_measure_room", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:量尺空间", description="表名:t_crm_measure_room")
 public class MeasureRoom extends PageInfo<MeasureRoom> implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/OrgMac.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("组织资金账户")
-@TableName(value = "t_mst_org_mac", autoResultMap = true)
+@TableName(value = "t_mst_org_mac", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:组织资金账户", description="表名:t_mst_org_mac")
 public class OrgMac extends PageInfo<OrgMac> implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/OrgWh.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("组织仓库")
-@TableName(value = "t_mst_org_wh", autoResultMap = true)
+@TableName(value = "t_mst_org_wh", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:组织仓库", description="表名:t_mst_org_wh")
 public class OrgWh extends PageInfo<OrgWh> implements Serializable {
 

+ 1 - 1
src/main/java/com/dk/mdm/model/pojo/mst/PrintLayout.java

@@ -29,7 +29,7 @@ import java.time.LocalDateTime;
 @EqualsAndHashCode(callSuper = true)
 @Accessors(chain = true)
 @ExportTitle("打印模版")
-@TableName(value = "t_mst_print_layout", autoResultMap = true)
+@TableName(value = "t_mst_print_layout", autoResultMap = true, schema =  "dkic_b")
 @ApiModel(value="实体类:打印模版", description="表名:t_mst_print_layout")
 public class PrintLayout extends PageInfo<PrintLayout> implements Serializable {