|
@@ -2,62 +2,7 @@
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.qmth.sop.business.mapper.ServiceUnitAnalyseMapper">
|
|
<mapper namespace="com.qmth.sop.business.mapper.ServiceUnitAnalyseMapper">
|
|
|
|
|
|
- <select id="countLead" resultType="java.lang.Integer" parameterType="java.lang.Long">
|
|
|
|
- select count(distinct lead_id)
|
|
|
|
- from t_b_crm
|
|
|
|
- where service_id = #{serviceUnitId}
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
- <select id="countTotalPerson" resultType="java.lang.Integer" parameterType="java.lang.Long">
|
|
|
|
- select count(distinct user_id)
|
|
|
|
- from t_b_user_archives_allocation
|
|
|
|
- where service_id = #{serviceUnitId}
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
- <select id="countScanner" resultType="java.lang.Integer">
|
|
|
|
- SELECT
|
|
|
|
- count( 1 )
|
|
|
|
- FROM
|
|
|
|
- t_b_device_delivery tdd,
|
|
|
|
- t_b_crm tbc
|
|
|
|
- WHERE
|
|
|
|
- tdd.crm_no = tbc.crm_no
|
|
|
|
- AND tbc.service_id = #{serviceUnitId}
|
|
|
|
- AND tdd.delivery_type = #{out}
|
|
|
|
- <if test="deliveryStatusList != null and deliveryStatusList.size() > 0">
|
|
|
|
- AND tdd.STATUS IN
|
|
|
|
- <foreach collection="deliveryStatusList" item="item" open="(" close=")" index="index" separator=",">
|
|
|
|
- #{item}
|
|
|
|
- </foreach>
|
|
|
|
- </if>
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
- <select id="listSopProgress" resultType="com.qmth.sop.business.bean.result.ServiceUnitProgressResult" parameterType="java.lang.Long">
|
|
|
|
- SELECT DISTINCT IFNULL(art.NAME_, '已完成') AS taskName,
|
|
|
|
- tbsi.sop_no AS sopNo,
|
|
|
|
- sc.province AS provinceName
|
|
|
|
- FROM t_b_sop_info tbsi
|
|
|
|
- INNER JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
|
|
- INNER JOIN t_b_service tbs ON tbs.id = tbsi.service_id
|
|
|
|
- INNER JOIN t_f_custom_flow_entity tfcfe ON tfcfe.CODE = tbsi.sop_no
|
|
|
|
- INNER JOIN t_f_flow_approve tffa ON tffa.flow_id = tfcfe.flow_id
|
|
|
|
- LEFT JOIN ACT_RU_TASK art ON art.PROC_INST_ID_ = tffa.flow_id
|
|
|
|
- INNER JOIN t_f_custom_flow tfcf ON tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
|
- INNER JOIN t_b_crm_detail tbcd ON tbcd.sop_no = tbsi.sop_no
|
|
|
|
- INNER JOIN sys_custom sc on sc.id = tbc.custom_id
|
|
|
|
- WHERE tbsi.service_id = #{serviceUnitId}
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
- <select id="listProvinceCrmNum" resultType="com.qmth.sop.business.bean.result.ServiceUnitProvinceResult" parameterType="java.lang.Long">
|
|
|
|
- SELECT sc.province,
|
|
|
|
- count(1) AS provinceCrmNum
|
|
|
|
- FROM t_b_crm tbc
|
|
|
|
- INNER JOIN sys_custom sc ON tbc.custom_id = sc.id
|
|
|
|
- WHERE tbc.service_id = #{serviceUnitId}
|
|
|
|
- GROUP BY sc.province
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
- <select id="pageSop" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
|
|
+ <sql id="sopSql">
|
|
SELECT DISTINCT
|
|
SELECT DISTINCT
|
|
sc.NAME AS customName,
|
|
sc.NAME AS customName,
|
|
tbc.NAME AS crmName,
|
|
tbc.NAME AS crmName,
|
|
@@ -71,7 +16,8 @@
|
|
IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
tbsi.update_time AS updateTime,
|
|
tbsi.update_time AS updateTime,
|
|
- tbdw.field_obj AS fieldObj
|
|
|
|
|
|
+ tbdw.field_obj AS fieldObj,
|
|
|
|
+ tbdw.id warnId
|
|
FROM
|
|
FROM
|
|
t_b_sop_info tbsi
|
|
t_b_sop_info tbsi
|
|
LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
@@ -101,7 +47,7 @@
|
|
<if test="province != null and province != '' ">
|
|
<if test="province != null and province != '' ">
|
|
AND sc.province=#{province}
|
|
AND sc.province=#{province}
|
|
</if>
|
|
</if>
|
|
- <!-- 预警字段 -->
|
|
|
|
|
|
+ <!-- 预警字段 -->
|
|
<if test="type != null and type != '' ">
|
|
<if test="type != null and type != '' ">
|
|
AND tbdw.field_obj is not null
|
|
AND tbdw.field_obj is not null
|
|
</if>
|
|
</if>
|
|
@@ -127,9 +73,9 @@
|
|
and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
</where>
|
|
</where>
|
|
ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
- </select>
|
|
|
|
|
|
+ </sql>
|
|
|
|
|
|
- <select id="pageSopByUserAllocation" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
|
|
+ <sql id="sopByUserAllocationSql">
|
|
SELECT DISTINCT
|
|
SELECT DISTINCT
|
|
sc.NAME AS customName,
|
|
sc.NAME AS customName,
|
|
tbc.NAME AS crmName,
|
|
tbc.NAME AS crmName,
|
|
@@ -142,7 +88,9 @@
|
|
tbcd.id AS crmDetailId,
|
|
tbcd.id AS crmDetailId,
|
|
IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
- tbsi.update_time AS updateTime
|
|
|
|
|
|
+ tbsi.update_time AS updateTime,
|
|
|
|
+ tbdw.field_obj AS fieldObj,
|
|
|
|
+ tbdw.id warnId
|
|
FROM
|
|
FROM
|
|
t_b_sop_info tbsi
|
|
t_b_sop_info tbsi
|
|
LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
@@ -159,6 +107,7 @@
|
|
LEFT JOIN t_b_user_archives_supplier tbusas ON tbusas.user_archives_id = tbusaa.archives_id
|
|
LEFT JOIN t_b_user_archives_supplier tbusas ON tbusas.user_archives_id = tbusaa.archives_id
|
|
LEFT JOIN sys_supplier ss ON ss.id = tbusas.supplier_id
|
|
LEFT JOIN sys_supplier ss ON ss.id = tbusas.supplier_id
|
|
LEFT JOIN sys_user syu ON syu.id = tbusaa.user_id
|
|
LEFT JOIN sys_user syu ON syu.id = tbusaa.user_id
|
|
|
|
+ LEFT JOIN t_b_delay_warn tbdw on tbdw.crm_no=tbc.crm_no and tbdw.sop_no=tbcd.sop_no
|
|
<where>
|
|
<where>
|
|
<if test="serviceUnitId != null">
|
|
<if test="serviceUnitId != null">
|
|
AND tbsi.service_id=#{serviceUnitId}
|
|
AND tbsi.service_id=#{serviceUnitId}
|
|
@@ -184,6 +133,13 @@
|
|
<if test="roleType != null">
|
|
<if test="roleType != null">
|
|
AND tbusaa.sop_role_type = #{roleType}
|
|
AND tbusaa.sop_role_type = #{roleType}
|
|
</if>
|
|
</if>
|
|
|
|
+ <!-- 预警字段 -->
|
|
|
|
+ <if test="type != null and type != '' ">
|
|
|
|
+ AND tbdw.field_obj is not null
|
|
|
|
+ </if>
|
|
|
|
+ <if test="fieldObj != null and fieldObj != '' ">
|
|
|
|
+ AND tbdw.field_obj = #{fieldObj}
|
|
|
|
+ </if>
|
|
|
|
|
|
<if test="process != null">
|
|
<if test="process != null">
|
|
<choose>
|
|
<choose>
|
|
@@ -203,147 +159,80 @@
|
|
and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
</where>
|
|
</where>
|
|
ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
- </select>
|
|
|
|
|
|
+ </sql>
|
|
|
|
|
|
|
|
|
|
|
|
+ <select id="countLead" resultType="java.lang.Integer" parameterType="java.lang.Long">
|
|
|
|
+ select count(distinct lead_id)
|
|
|
|
+ from t_b_crm
|
|
|
|
+ where service_id = #{serviceUnitId}
|
|
|
|
+ </select>
|
|
|
|
|
|
- <select id="listSop" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
- SELECT DISTINCT
|
|
|
|
- sc.NAME AS customName,
|
|
|
|
- tbc.NAME AS crmName,
|
|
|
|
- tbcd.course_name AS courseName,
|
|
|
|
- IFNULL( art.NAME_, '已完成' ) AS taskName,
|
|
|
|
- tbc.lead_id leadId,
|
|
|
|
- su3.real_name AS leadName,
|
|
|
|
- su3.mobile_number leadMobile,
|
|
|
|
- tbsi.sop_no AS sopNo,
|
|
|
|
- tbcd.id AS crmDetailId,
|
|
|
|
- IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
|
|
- cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
|
|
- tbsi.update_time AS updateTime
|
|
|
|
|
|
+ <select id="countTotalPerson" resultType="java.lang.Integer" parameterType="java.lang.Long">
|
|
|
|
+ select count(distinct user_id)
|
|
|
|
+ from t_b_user_archives_allocation
|
|
|
|
+ where service_id = #{serviceUnitId}
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
+ <select id="countScanner" resultType="java.lang.Integer">
|
|
|
|
+ SELECT
|
|
|
|
+ count( 1 )
|
|
FROM
|
|
FROM
|
|
- t_b_sop_info tbsi
|
|
|
|
- LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
|
|
- LEFT JOIN t_b_service tbs ON tbs.id = tbsi.service_id
|
|
|
|
- LEFT JOIN sys_custom sc ON sc.id = tbsi.custom_id
|
|
|
|
- LEFT JOIN sys_user su1 ON su1.id = tbc.crm_user_id
|
|
|
|
- LEFT JOIN t_f_custom_flow_entity tfcfe ON tfcfe.CODE = tbsi.sop_no
|
|
|
|
- LEFT JOIN t_f_flow_approve tffa ON tffa.flow_id = tfcfe.flow_id
|
|
|
|
- LEFT JOIN ACT_RU_TASK art ON art.PROC_INST_ID_ = tffa.flow_id
|
|
|
|
- LEFT JOIN t_f_custom_flow tfcf ON tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
|
- LEFT JOIN t_b_crm_detail tbcd ON tbcd.sop_no = tbsi.sop_no
|
|
|
|
- LEFT JOIN sys_user su3 ON su3.id = tbc.lead_id
|
|
|
|
- <where>
|
|
|
|
- <if test="serviceUnitId != null">
|
|
|
|
- AND tbsi.service_id=#{serviceUnitId}
|
|
|
|
- </if>
|
|
|
|
- <if test="crmUserId != null">
|
|
|
|
- AND tbc.crm_user_id=#{crmUserId}
|
|
|
|
- </if>
|
|
|
|
- <if test="customName != null and customName != ''">
|
|
|
|
- AND sc.name=#{customName}
|
|
|
|
- </if>
|
|
|
|
- <if test="leadId != null">
|
|
|
|
- AND tbc.lead_id=#{leadId}
|
|
|
|
- </if>
|
|
|
|
- <if test="province != null and province != '' ">
|
|
|
|
- AND sc.province=#{province}
|
|
|
|
- </if>
|
|
|
|
|
|
+ t_b_device_delivery tdd,
|
|
|
|
+ t_b_crm tbc
|
|
|
|
+ WHERE
|
|
|
|
+ tdd.crm_no = tbc.crm_no
|
|
|
|
+ AND tbc.service_id = #{serviceUnitId}
|
|
|
|
+ AND tdd.delivery_type = #{out}
|
|
|
|
+ <if test="deliveryStatusList != null and deliveryStatusList.size() > 0">
|
|
|
|
+ AND tdd.STATUS IN
|
|
|
|
+ <foreach collection="deliveryStatusList" item="item" open="(" close=")" index="index" separator=",">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
|
|
+ </select>
|
|
|
|
|
|
- <if test="process != null">
|
|
|
|
- <choose>
|
|
|
|
- <!--非已完成状态-->
|
|
|
|
- <when test="prList != null and prList.size > 0">
|
|
|
|
- AND art.NAME_ in
|
|
|
|
- <foreach collection="prList" item="item" index="index" open="(" separator="," close=")">
|
|
|
|
- #{item}
|
|
|
|
- </foreach>
|
|
|
|
- </when>
|
|
|
|
- <!-- 已完成状态-->
|
|
|
|
- <otherwise>
|
|
|
|
- AND art.NAME_ is null
|
|
|
|
- </otherwise>
|
|
|
|
- </choose>
|
|
|
|
- </if>
|
|
|
|
- and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
|
|
- </where>
|
|
|
|
- ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
|
|
|
|
+ <select id="listSopProgress" resultType="com.qmth.sop.business.bean.result.ServiceUnitProgressResult" parameterType="java.lang.Long">
|
|
|
|
+ SELECT DISTINCT IFNULL(art.NAME_, '已完成') AS taskName,
|
|
|
|
+ tbsi.sop_no AS sopNo,
|
|
|
|
+ sc.province AS provinceName
|
|
|
|
+ FROM t_b_sop_info tbsi
|
|
|
|
+ INNER JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
|
|
+ INNER JOIN t_b_service tbs ON tbs.id = tbsi.service_id
|
|
|
|
+ INNER JOIN t_f_custom_flow_entity tfcfe ON tfcfe.CODE = tbsi.sop_no
|
|
|
|
+ INNER JOIN t_f_flow_approve tffa ON tffa.flow_id = tfcfe.flow_id
|
|
|
|
+ LEFT JOIN ACT_RU_TASK art ON art.PROC_INST_ID_ = tffa.flow_id
|
|
|
|
+ INNER JOIN t_f_custom_flow tfcf ON tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
|
+ INNER JOIN t_b_crm_detail tbcd ON tbcd.sop_no = tbsi.sop_no
|
|
|
|
+ INNER JOIN sys_custom sc on sc.id = tbc.custom_id
|
|
|
|
+ WHERE tbsi.service_id = #{serviceUnitId}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <select id="listSopByUserAllocation" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
- SELECT DISTINCT
|
|
|
|
- sc.NAME AS customName,
|
|
|
|
- tbc.NAME AS crmName,
|
|
|
|
- tbcd.course_name AS courseName,
|
|
|
|
- IFNULL( art.NAME_, '已完成' ) AS taskName,
|
|
|
|
- tbc.lead_id AS leadId,
|
|
|
|
- su3.real_name AS leadName,
|
|
|
|
- su3.mobile_number leadMobile,
|
|
|
|
- tbsi.sop_no AS sopNo,
|
|
|
|
- tbcd.id AS crmDetailId,
|
|
|
|
- IF ( sc.type = 'OFFICE', '教务处', '研究生' ) AS customManagerTypeStr,
|
|
|
|
- cast( tfcfe.flow_id AS CHAR ) AS flowId,
|
|
|
|
- tbsi.update_time AS updateTime
|
|
|
|
- FROM
|
|
|
|
- t_b_sop_info tbsi
|
|
|
|
- LEFT JOIN t_b_crm tbc ON tbc.crm_no = tbsi.crm_no
|
|
|
|
- LEFT JOIN t_b_service tbs ON tbs.id = tbsi.service_id
|
|
|
|
- LEFT JOIN sys_custom sc ON sc.id = tbsi.custom_id
|
|
|
|
- LEFT JOIN sys_user su1 ON su1.id = tbc.crm_user_id
|
|
|
|
- LEFT JOIN t_f_custom_flow_entity tfcfe ON tfcfe.CODE = tbsi.sop_no
|
|
|
|
- LEFT JOIN t_f_flow_approve tffa ON tffa.flow_id = tfcfe.flow_id
|
|
|
|
- LEFT JOIN ACT_RU_TASK art ON art.PROC_INST_ID_ = tffa.flow_id
|
|
|
|
- LEFT JOIN t_f_custom_flow tfcf ON tfcf.id = tfcfe.t_f_custom_flow_id
|
|
|
|
- LEFT JOIN t_b_crm_detail tbcd ON tbcd.sop_no = tbsi.sop_no
|
|
|
|
- LEFT JOIN sys_user su3 ON su3.id = tbc.lead_id
|
|
|
|
- LEFT JOIN t_b_user_archives_allocation tbusaa ON tbusaa.crm_detail_id = tbcd.id
|
|
|
|
- LEFT JOIN t_b_user_archives_supplier tbusas ON tbusas.user_archives_id = tbusaa.archives_id
|
|
|
|
- LEFT JOIN sys_supplier ss ON ss.id = tbusas.supplier_id
|
|
|
|
- LEFT JOIN sys_user syu ON syu.id = tbusaa.user_id
|
|
|
|
- <where>
|
|
|
|
- <if test="serviceUnitId != null">
|
|
|
|
- AND tbsi.service_id=#{serviceUnitId}
|
|
|
|
- </if>
|
|
|
|
- <if test="crmUserId != null">
|
|
|
|
- AND tbc.crm_user_id=#{crmUserId}
|
|
|
|
- </if>
|
|
|
|
- <if test="customName != null and customName != ''">
|
|
|
|
- AND sc.name=#{customName}
|
|
|
|
- </if>
|
|
|
|
- <if test="leadId != null">
|
|
|
|
- AND tbc.lead_id=#{leadId}
|
|
|
|
- </if>
|
|
|
|
- <if test="province != null and province != '' ">
|
|
|
|
- AND sc.province=#{province}
|
|
|
|
- </if>
|
|
|
|
- <if test="supplierId != null">
|
|
|
|
- AND ss.id = #{supplierId}
|
|
|
|
- </if>
|
|
|
|
- <if test="coordinatorId != null">
|
|
|
|
- AND tbusaa.user_id = #{coordinatorId}
|
|
|
|
- </if>
|
|
|
|
- <if test="roleType != null">
|
|
|
|
- AND tbusaa.sop_role_type = #{roleType}
|
|
|
|
- </if>
|
|
|
|
|
|
+ <select id="listProvinceCrmNum" resultType="com.qmth.sop.business.bean.result.ServiceUnitProvinceResult" parameterType="java.lang.Long">
|
|
|
|
+ SELECT sc.province,
|
|
|
|
+ count(1) AS provinceCrmNum
|
|
|
|
+ FROM t_b_crm tbc
|
|
|
|
+ INNER JOIN sys_custom sc ON tbc.custom_id = sc.id
|
|
|
|
+ WHERE tbc.service_id = #{serviceUnitId}
|
|
|
|
+ GROUP BY sc.province
|
|
|
|
+ </select>
|
|
|
|
|
|
- <if test="process != null">
|
|
|
|
- <choose>
|
|
|
|
- <!--非已完成状态-->
|
|
|
|
- <when test="prList != null and prList.size > 0">
|
|
|
|
- AND art.NAME_ in
|
|
|
|
- <foreach collection="prList" item="item" index="index" open="(" separator="," close=")">
|
|
|
|
- #{item}
|
|
|
|
- </foreach>
|
|
|
|
- </when>
|
|
|
|
- <!-- 已完成状态-->
|
|
|
|
- <otherwise>
|
|
|
|
- AND art.NAME_ is null
|
|
|
|
- </otherwise>
|
|
|
|
- </choose>
|
|
|
|
- </if>
|
|
|
|
- and IF(tbs.`status` = 'PUBLISH', tffa.status in ('START', 'DRAFT', 'AUDITING', 'REJECT', 'CANCEL', 'FINISH'), 1 <![CDATA[ <> ]]> 1)
|
|
|
|
- </where>
|
|
|
|
- ORDER BY tbsi.update_time DESC,tbsi.sop_no DESC
|
|
|
|
|
|
+
|
|
|
|
+ <select id="pageSop" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
+ <include refid="sopSql"/>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
+ <select id="pageSopByUserAllocation" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
+ <include refid="sopByUserAllocationSql"/>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <select id="listSop" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
+ <include refid="sopSql"/>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
+ <select id="listSopByUserAllocation" resultType="com.qmth.sop.business.bean.result.ProjectMonitorResult">
|
|
|
|
+ <include refid="sopByUserAllocationSql"/>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|