id, cust_id, binding_type, binding_id, data_state, create_empid, create_date, modfiy_empid,
modfiy_date, rsrv_str1, rsrv_str2
id, cust_id, cust_name, user_name, user_password, user_phone, sex, email, cust_type,
parent_id, cer_type, cer_number, deivce_type, device_no, prov_id, city_id, area_id,
alias, remark, data_state, create_empid, create_date, modfiy_empid, modfiy_date,
petty_pay_state,petty_pay_pass,petty_pay_amount
update td_b_cust_binding
binding_type = #{bindingType,jdbcType=BIGINT},
binding_id = #{bindingId,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
rsrv_str1 = #{rsrvStr1,jdbcType=VARCHAR},
rsrv_str2 = #{rsrvStr2,jdbcType=VARCHAR},
where data_state = 1
and cust_id = #{custId,jdbcType=VARCHAR}
and binding_type = #{bindingType,jdbcType=BIGINT}
and binding_id != #{bindingId,jdbcType=VARCHAR}