|
@@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="unpaidFees" column="unpaid_fees" />
|
|
|
<result property="balanceFees" column="balance_fees" />
|
|
|
<result property="waterFees" column="water_fees" />
|
|
|
+ <result property="meterAmount" column="meter_amount" />
|
|
|
<result property="meterReader" column="meter_reader" />
|
|
|
<result property="meterReaderPhone" column="meter_reader_phone" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
@@ -36,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTUserInfoVo">
|
|
|
- select id, user_no, card_no, ammeter_no, name, phone, province, city, country, pumping_station_address, area, street, neighbourhood_name, building_no, door_no, statistics_time, unpaid_fees, balance_fees, water_fees, meter_reader, meter_reader_phone, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_user_info
|
|
|
+ select id, user_no, card_no, ammeter_no, name, phone, province, city, country, pumping_station_address, area, street, neighbourhood_name, building_no, door_no, statistics_time, unpaid_fees, balance_fees, water_fees, meter_amount, meter_reader, meter_reader_phone, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_user_info
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTUserInfoList" parameterType="TUserInfo" resultMap="TUserInfoResult">
|
|
@@ -61,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unpaidFees != null "> and unpaid_fees = #{unpaidFees}</if>
|
|
|
<if test="balanceFees != null "> and balance_fees = #{balanceFees}</if>
|
|
|
<if test="waterFees != null "> and water_fees = #{waterFees}</if>
|
|
|
+ <if test="meterAmount != null "> and meter_amount = #{meterAmount}</if>
|
|
|
<if test="meterReader != null and meterReader != ''"> and meter_reader = #{meterReader}</if>
|
|
|
<if test="meterReaderPhone != null and meterReaderPhone != ''"> and meter_reader_phone = #{meterReaderPhone}</if>
|
|
|
<if test="revision != null "> and revision = #{revision}</if>
|
|
@@ -94,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unpaidFees != null">unpaid_fees,</if>
|
|
|
<if test="balanceFees != null">balance_fees,</if>
|
|
|
<if test="waterFees != null">water_fees,</if>
|
|
|
+ <if test="meterAmount != null">meter_amount,</if>
|
|
|
<if test="meterReader != null">meter_reader,</if>
|
|
|
<if test="meterReaderPhone != null">meter_reader_phone,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
@@ -123,6 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unpaidFees != null">#{unpaidFees},</if>
|
|
|
<if test="balanceFees != null">#{balanceFees},</if>
|
|
|
<if test="waterFees != null">#{waterFees},</if>
|
|
|
+ <if test="meterAmount != null">#{meterAmount},</if>
|
|
|
<if test="meterReader != null">#{meterReader},</if>
|
|
|
<if test="meterReaderPhone != null">#{meterReaderPhone},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
@@ -156,6 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unpaidFees != null">unpaid_fees = #{unpaidFees},</if>
|
|
|
<if test="balanceFees != null">balance_fees = #{balanceFees},</if>
|
|
|
<if test="waterFees != null">water_fees = #{waterFees},</if>
|
|
|
+ <if test="meterAmount != null">meter_amount = #{meterAmount},</if>
|
|
|
<if test="meterReader != null">meter_reader = #{meterReader},</if>
|
|
|
<if test="meterReaderPhone != null">meter_reader_phone = #{meterReaderPhone},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|