Explorar el Código

承运方数据权限

xucaiqin hace 2 años
padre
commit
1f985c76c2

+ 10 - 0
sckw-modules/sckw-payment/src/main/resources/mapper/KwpLedgerLogisticsMapper.xml

@@ -374,6 +374,14 @@
                     )
             </if>
             and (
+            case when kll.status in (1, 6)
+                then
+                kll.create_by in
+            <foreach collection="authList" item="item" open="(" close=")" separator=",">
+                #{item,jdbcType=BIGINT}
+            </foreach>
+            when kll.status in (2, 3, 4, 5) then
+            (
                 kll.create_by in
             <foreach collection="authList" item="item" open="(" close=")" separator=",">
                 #{item,jdbcType=BIGINT}
@@ -383,6 +391,8 @@
                 #{item,jdbcType=BIGINT}
             </foreach>
             )
+                end
+                )
         </where>
         order by kll.generate_time desc
     </select>