| | |
| | | <if test="chargeEnd != null">charge_end,</if> |
| | | <if test="communityId != null">community_id,</if> |
| | | <if test="frequency != null">frequency</if> |
| | | <if test="receiptYearMonth != null">receipt_year_month,</if> |
| | | <if test="receiptYear != null">receipt_year,</if> |
| | | <if test="pendingProblem != null">pending_problem,</if> |
| | | <if test="roomNumber != null">room_number</if> |
| | | </trim> VALUES |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | #{chargeTime}, |
| | |
| | | <if test="chargeEnd != null">#{chargeEnd},</if> |
| | | <if test="communityId != null">#{communityId},</if> |
| | | <if test="frequency != null">#{frequency}</if> |
| | | <if test="receiptYearMonth != null">#{receiptYearMonth},</if> |
| | | <if test="receiptYear != null">#{receiptYear},</if> |
| | | <if test="pendingProblem != null">#{pendingProblem},</if> |
| | | <if test="roomNumber != null">#{roomNumber}</if> |
| | | </trim> |
| | | </insert> |
| | | <select id="queryPropertyWhiteListFlow" parameterType="Map" resultType="Map"> |
| | |
| | | room_id AS roomId, |
| | | property_address AS propertyAddress, |
| | | door_room_num AS doorRoomNum, |
| | | SUBSTRING_INDEX(door_room_num, '-', 1) AS floorNum, |
| | | SUBSTRING_INDEX(SUBSTRING_INDEX(door_room_num, '-', 2), '-', -1) AS unitNum, |
| | | SUBSTRING_INDEX(door_room_num, '-', -1) AS roomNum, |
| | | secondary_fee_type_cd AS secondaryFeeTypeCd, |
| | | charge_amount AS chargeAmount, |
| | | charger, |