| | |
| | | <select id="getPayFeeBatchInfo" parameterType="Map" resultType="Map"> |
| | | select t.msg,t.create_user_id,t.create_user_id createUserId,t.create_user_name,t.create_user_name |
| | | createUserName,t.status_cd,t.status_cd statusCd,t.remark,t.state,t.batch_id,t.batch_id |
| | | batchId,t.community_id,t.community_id communityId,t.create_time createTime |
| | | batchId,t.community_id,t.community_id communityId,t.create_time createTime,td.`name` stateName |
| | | from pay_fee_batch t |
| | | left join t_dict td on t.state = td.status_cd and td.table_name = 'pay_fee_batch' and td.table_columns = 'state' |
| | | where 1 =1 |
| | | <if test="msg !=null and msg != ''"> |
| | | and t.msg= #{msg} |
| | |
| | | <if test="state !=null and state != ''"> |
| | | , t.state= #{state} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | , t.community_id= #{communityId} |
| | | </if> |
| | | |
| | | where 1=1 |
| | | <if test="batchId !=null and batchId != ''"> |
| | | and t.batch_id= #{batchId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | </if> |
| | | |
| | | </update> |
| | | |