diff --git a/pjcloud-canteen/pjcloud-canteen-biz/src/main/resources/mapper/CanteenDailyMenuMapper.xml b/pjcloud-canteen/pjcloud-canteen-biz/src/main/resources/mapper/CanteenDailyMenuMapper.xml index db71e310b..a9bc87e5b 100644 --- a/pjcloud-canteen/pjcloud-canteen-biz/src/main/resources/mapper/CanteenDailyMenuMapper.xml +++ b/pjcloud-canteen/pjcloud-canteen-biz/src/main/resources/mapper/CanteenDailyMenuMapper.xml @@ -95,7 +95,7 @@ LEFT JOIN canteen_category c on sp.category_id = c.id AND c.del_flag = 0 - sp.del_flag = 0 and t.del_flag = 0 and sp.is_show = 0 + sp.del_flag = 0 and t.del_flag = 0 AND sp.category_id = #{categoryId} diff --git a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/WalletTransactionMapper.xml b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/WalletTransactionMapper.xml index e89fd9259..0e8b96cd3 100644 --- a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/WalletTransactionMapper.xml +++ b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/WalletTransactionMapper.xml @@ -171,7 +171,7 @@ from wallet_transaction a left join wallet_manage m on m.id = a.wallet_id - a.del_flag = 0 and m.dept_id is not null + a.del_flag = 0 and a.dept_id is not null a.wallet_id = ${dto.walletId} @@ -194,13 +194,13 @@ - and m.dept_id IN + and a.dept_id IN - and m.dept_id NOT IN + and a.dept_id NOT IN - and m.dept_id IN + and a.dept_id IN