| | |
| | | where t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | and t1.status in (3,4,5) |
| | | and t1.pay_time between #{startTime} and #{endTime} |
| | | <if test="query.roleType != null and query.roleType == 4"> |
| | | <if test="roleType != null and roleType == 4"> |
| | | and t1.supplier_id = #{supplierAndClinicId} |
| | | </if> |
| | | <if test="query.roleType != null and query.roleType == 5"> |
| | | <if test="roleType != null and roleType == 5"> |
| | | and t1.clinic_id = #{supplierAndClinicId} |
| | | </if> |
| | | group by date_format(t1.pay_time, '%m.%d') |
| | |
| | | where t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | and t1.status in (3,4,5) |
| | | and t1.pay_time between #{startTime} and #{endTime} |
| | | <if test="query.roleType != null and query.roleType == 4"> |
| | | <if test="roleType != null and roleType == 4"> |
| | | and t1.supplier_id = #{supplierAndClinicId} |
| | | </if> |
| | | <if test="query.roleType != null and query.roleType == 5"> |
| | | <if test="roleType != null and roleType == 5"> |
| | | and t1.clinic_id = #{supplierAndClinicId} |
| | | </if> |
| | | group by date_format(t1.pay_time, '%m.%d') |