ソースを参照

11482-【CR】【投资系统】增加审批流程-权限去掉

hxy 4 週間 前
コミット
0cf678f791

+ 1 - 0
ruoyi-system/src/main/resources/mapper/invest/ApprovalMapper.xml

@@ -141,6 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         )
         and a.del_flag="0"
         <include refid="where_sql"></include>
+        GROUP BY a.id
     </select>
     <select id="getMyDoneTaskList" resultMap="ProjectApprovalVoResult">
         select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,

+ 1 - 0
ruoyi-system/src/main/resources/mapper/invest/DecisionMapper.xml

@@ -136,6 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         )
         and a.del_flag="0"
         <include refid="where_sql"></include>
+        GROUP BY a.id
         order by a.create_time desc
     </select>
     <select id="getMyDoneTaskList" resultMap="ProjectDecisionVoResult">

+ 1 - 0
ruoyi-system/src/main/resources/mapper/invest/InvestigateMapper.xml

@@ -160,6 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         )
         and a.del_flag="0"
         <include refid="where_sql"></include>
+        GROUP BY a.id
         order by a.create_time desc
     </select>
     <select id="getMyDoneTaskList" resultMap="ProjectInvestigateVoResult">

+ 2 - 1
ruoyi-system/src/main/resources/mapper/invest/InvestmentOpportunityMapper.xml

@@ -328,7 +328,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         a.invest_head, a.previous_financing, a.financing_stage, a.financing_condition, a.financing_money, a.financing_date, a.invest_sparkle, a.invest_valuation, a.invest_money, a.invest_type, a.invest_ploy, a.invest_worth, a.shareholding,
         a.project_stage, a.project_state, a.mark, a.approval_flag, a.investigate_flag, a.decision_flag, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time, a.status,a.project_status,
         b.id companyId, b.company_name, b.project_pool_id, b.filing_time, b.company_code, b.start_time, b.end_time, b.registered_capital, b.registered_address, b.paid_capital, b.business_address, b.actual_bod, b.phone, b.type,
-        c.id, c.name, c.position, c.contact,
+        c.id contactId, c.name, c.position, c.contact,
         d.channel_name, d.channel_code, d.channel_type, d.channel_group, d.channel_blurb, d.contacts, d.telephone, d.address, d.channel_head,
         p.PROC_INST_ID_ as 'procInsId',
         p.PROC_DEF_ID_ as 'procDefId',
@@ -369,6 +369,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         )
         and a.del_flag in ("0","2")
         <include refid="where_sql"></include>
+        GROUP BY a.id
     </select>
     <select id="getMyDoneTaskList" resultMap="TProjectPoolVoResult">
         select a.id,a.proc_inst_id,a.project_name, d.channel_group project_group, a.record_date, a.project_code, a.channel, a.contact_date, a.project_date, a.decision_date, a.industry, a.company, a.description, a.project_contacts,

+ 1 - 0
ruoyi-system/src/main/resources/mapper/invest/TerminationMapper.xml

@@ -172,6 +172,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         )
         and a.del_flag="0"
         <include refid="where_sql"></include>
+        GROUP BY a.id
         order by a.create_time desc
     </select>
     <select id="getMyDoneTaskList" resultMap="ProjectTerminationVoResult">

+ 0 - 1
ruoyi-ui/src/views/project/listStage/terminationList.vue

@@ -103,7 +103,6 @@
           size="mini"
           icon="el-icon-tickets"
           @click="handleAdd(2)"
-          v-hasPermi="['invest:pool:due']"
           >尽调申请</el-button
         >
       </el-col>

+ 0 - 1
ruoyi-ui/src/views/project/listStage/watchList.vue

@@ -103,7 +103,6 @@
           size="mini"
           icon="el-icon-tickets"
           @click="handleAdd(2)"
-          v-hasPermi="['invest:pool:due']"
           >尽调申请</el-button
         >
       </el-col>

+ 0 - 2
ruoyi-ui/src/views/project/poolForm.vue

@@ -498,9 +498,7 @@
 </template>
 <script>
 import {
-  listPool,
   getPool,
-  delPool,
   addPool,
   updatePool,
 } from "@/api/invest/pool";