This commit is contained in:
齐天大圣 2024-04-24 15:53:11 +08:00
parent 9e46716280
commit 8dcffd19a4

View File

@ -6,7 +6,7 @@
select * from t_duty u select * from t_duty u
where u.status = #{status} where u.status = #{status}
<if test="merchantId != null and merchantId > 0"> <if test="merchantId != null and merchantId > 0">
and u.MERCHANT_ID = #{merchantId} and u.store_id = #{merchantId}
</if> </if>
</select> </select>