publicstaticStringXYQB_QUERY_USER_MAX_OVERDUE_SQL="select max(if(repayment_status=3,DATEDIFF(repaid_at,deadline)+1,DATEDIFF(CURDATE(),deadline)+1)) max_overdue_days from repayment_plan where user_id in (%s) and deadline<=CURDATE() and (repayment_status not in (3,4) or (repayment_status=3 and repaid_at>=deadline));";
publicstaticStringXYQB_QUERY_USER_MAX_OVERDUE_SQL="select max(if(repayment_status=3,DATEDIFF(repaid_at,deadline)+1,DATEDIFF(CURDATE(),deadline)+1)) max_overdue_days from repayment_plan where user_id in (%s) and deadline<=CURDATE() and (repayment_status not in (3,4) or (repayment_status=3 and repaid_at>=deadline));";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_INFO_SQL="select c.id, c.uuid uuid, b.name, c.phone_no phoneNo, b.id_no idNo from user_detail b left join user c on b.user_id=c.id where b.user_id=%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_INFO_SQL="select c.id, c.uuid uuid, b.name, c.phone_no phoneNo, b.id_no idNo from user_detail b left join user c on b.user_id=c.id where b.user_id='%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_PHONE_NO_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where b.phone_no='%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_PHONE_NO_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where b.phone_no='%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_ID_NO_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where b.id_no='%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_ID_NO_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where b.id_no='%s';";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_UUID_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where a.uuid = '%s'";
publicstaticStringXYQB_USER_QUERY_USER_DETAIL_BY_UUID_SQL="select user_id from user a left join user_detail b on a.id=b.user_id where a.uuid = '%s'";