update grid_cmpm_${gridType}_${deptCode} set user_name = #{userName}, nick_name = #{nickName}, outlet_id = #{outletId}, outlet_name = #{outletName}, branch_id = #{branchId}, branch_name = #{branchName}, source = '手动指定', lock_flag = '1' where cust_id = #{custId} and user_name = #{prevUserName} and account_no = #{accountNo}