Forráskód Böngészése

调整履职任务

luojun 2 éve
szülő
commit
bdcb0fbcbf

+ 1 - 1
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/resumption/domain/AppPlanToItem.java

@@ -9,7 +9,7 @@ import lombok.experimental.Accessors;
 import java.io.Serializable;
 
 /**
- * 计划要点关联表(t_app_plan_to_item)实体类
+ * 计划要点关联表(core_resumption_plan_to_item)实体类
  *
  * @author 高雄
  * @since 2022-05-05 17:02:28

+ 1 - 1
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/resumption/mapper/AppPlanToItemMapper.java

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository;
 import java.util.List;
 
 /**
- * 计划要点关联表(t_app_plan_to_item)数据Mapper
+ * 计划要点关联表(core_resumption_plan_to_item)数据Mapper
  *
  * @author 高雄
  * @since 2022-05-05 17:02:28

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/resumption/AppResumptionDataNfcMapper.xml

@@ -49,7 +49,7 @@
         select c.id as checkId,  a.collection_area_name as checkName,a.code as  nfccdoe,d.id as pointId,a.area_id as areaId ,a.id as nfcid from t_nfc_bind a
         LEFT JOIN t_area_check c ON a.check_id = c.id
         LEFT JOIN t_app_rule_point d on a.area_id = d.area_id
-        LEFT JOIN t_app_plan_to_item e ON e.item_id = d.id
+        LEFT JOIN core_resumption_plan_to_item e ON e.item_id = d.id
         where a.org_id =  #{orgId}
         and e.plan_id = #{planId}
         and a.check_id is not null

+ 6 - 6
soc-modules/soc-modules-core/src/main/resources/mapper/resumption/AppRulePointMapper.xml

@@ -31,7 +31,7 @@
 <!--        inner join t_app_rule_item ri on ri.id=p.item_id-->
 <!--        inner join sys_area a on p.area_id = a.id-->
 <!--        inner join sys_dict_detail d on d.code = p.safe_type and d.dict_code = 'check_type'-->
-<!--        inner join t_app_plan_to_item ti on ti.item_id=p.id-->
+<!--        inner join core_resumption_plan_to_item ti on ti.item_id=p.id-->
 <!--        inner join t_app_plan ap on ti.plan_id =ap.id-->
 <!--        where p.deleted = 0-->
 <!--        <if test="pointIds != null and pointIds.size > 0">-->
@@ -50,7 +50,7 @@
     <select id="findPointByPlan" parameterType="Long" resultType="com.xunmei.core.resumption.vo.AppRulePointTaskVo">
         SELECT a.*, b.point_scan
         from core_resumption_rule_point a
-                 LEFT JOIN t_app_plan_to_item b ON a.id = b.item_id
+                 LEFT JOIN core_resumption_plan_to_item b ON a.id = b.item_id
                  LEFT JOIN t_app_plan c ON b.plan_id = c.id
         WHERE c.id = #{planid}
     </select>
@@ -96,7 +96,7 @@
 <!--    <select id="findPointByPlan" parameterType="Long" resultType="com.xunmei.core.resumption.vo.resumption.AppRulePointTaskVo">-->
 <!--        SELECT a.*, b.point_scan-->
 <!--        from core_resumption_rule_point a-->
-<!--                 LEFT JOIN t_app_plan_to_item b ON a.id = b.item_id-->
+<!--                 LEFT JOIN core_resumption_plan_to_item b ON a.id = b.item_id-->
 <!--                 LEFT JOIN t_app_plan c ON b.plan_id = c.id-->
 <!--        WHERE c.id = #{planid}-->
 <!--    </select>-->
@@ -104,7 +104,7 @@
     <select id="findAreaListPlan" parameterType="Long" resultType="java.util.Map">
         SELECT a.area_id as areaid, d.name as areaname
         from core_resumption_rule_point a
-                 LEFT JOIN t_app_plan_to_item b ON a.id = b.item_id
+                 LEFT JOIN core_resumption_plan_to_item b ON a.id = b.item_id
                  LEFT JOIN t_app_plan c ON b.plan_id = c.id
                  LEFT JOIN t_area d ON a.area_id = d.id
         WHERE c.id = #{planid}
@@ -140,7 +140,7 @@
     </update>
 
     <update id="updatePlanItem">
-        update t_app_plan_to_item
+        update core_resumption_plan_to_item
         set item_id=#{newId}
         where item_id = #{id}
     </update>
@@ -199,7 +199,7 @@
          SELECT a.id as pointid,a.point_name as pointname ,a.point_num as pointnum,a.item_id as itemid,a.area_id as areaid,f.name as areaname,a.time_type as timeType,
         b.plan_id as planId,e.item_name as itemname,b.point_scan as pointScan,b.required,a.business_type as businessType
         from core_resumption_rule_point a
-                 LEFT JOIN t_app_plan_to_item b ON a.id = b.item_id
+                 LEFT JOIN core_resumption_plan_to_item b ON a.id = b.item_id
                  LEFT JOIN t_app_plan c ON b.plan_id = c.id
                  LEFT JOIN t_app_rule_item e ON a.item_id = e.id
                  left join t_area f on a.area_id = f.id