Procházet zdrojové kódy

我的公出列表新增我的协单未审核人

anderx před 1 rokem
rodič
revize
a7f89d3a1c

+ 2 - 2
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -376,7 +376,7 @@
         a.assist,a.assist_aid assistAid,a.assist_aid_name assistAidName,a.type,a.main_name mainName,a.reject_name rejectName,
         a.assistant_aid assistantAid ,a.assistant_name assistantName,a.public_again publicAgain,a.user_names userNames,
         ea.total_amount expenseAmount ,a.clock_in clockIn,c2.name reviewerName,
-        <if test="type==4 or type==5">
+        <if test="type== 0 or type==4 or type==5">
         ad.name userAdminName,
         </if>
         a.tech_start_process techStartProcess
@@ -386,7 +386,7 @@
         <if test="type==2">
             left join department d on c.department_id =d.id
         </if>
-        <if test="type==4 or type==5 or  userName !=null">
+        <if test="type== 0  or type==4 or type==5 or  userName !=null">
             left join public_release_details b on a.id=b.prid
             left join user e on b.uid=e.id  left join admin ad on e.aid=ad.id
         </if>