StringinSql="(select distinct child_no from owner_loan_account_running_water_record where loan_no = #{loanNo} and running_water_type ="+OwnerLoanAccountRunningWaterRecordEnum.RunWaterType.APPROVE_CHILD_WRITE_OFF.getCode()+")";
Stringsql="select id, owner_user_no as ownerUserNo, owner_user_name as ownerUserName, mobile, "+
" running_water_no as runningWaterNo, loan_no as loanNo, child_no as childNo, "+
" running_water_type as runningWaterType, "+
" alteration_balance as alterationBalance, use_able_balance as useAbleBalance, frozen_balance as frozenBalance, account_balance as accountBalance, "+
" create_by as createBy, "+
" date_format(create_time, '%Y-%m-%d %H:%i:%s') as createTime, "+
" date_format(modified_time, '%Y-%m-%d %H:%i:%s') as modifiedTime from owner_loan_account_running_water_record where running_water_type = "+OwnerLoanAccountRunningWaterRecordEnum.RunWaterType.APPROVE_CHILD_WRITE_OFF.getCode()