瀏覽代碼

承运方数据权限

xucaiqin 2 年之前
父節點
當前提交
1f985c76c2
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      sckw-modules/sckw-payment/src/main/resources/mapper/KwpLedgerLogisticsMapper.xml

+ 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>