/* 56 */sql="SELECT SUBSTRING(borrow_data,1,4) as nd,SUBSTRING(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2) ORDER BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2)";
/* 59 */sql="SELECT SUBSTR(borrow_data,1,4) as nd,SUBSTR(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2) ORDER BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2)";
/* 73 */str1="select SUM(pborrow_state) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' ";
/* 75 */str1="select SUM(pborrow_state) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' ";
/* 85 */str3="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='1'";
/* 87 */str3="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='1'";
/* 94 */str5="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='2'";
/* 96 */str5="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='2'";
/* 133 */Stringsql="select b.table_name as name,count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id group by b.table_name";
/* 143 */Stringstr2="select count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where b.table_name='"+name+"' and a.borrow_type='1'";
/* 147 */Stringstr4="select count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where b.table_name='"+name+"' and a.borrow_type='2'";
/* 182 */Stringsql="select b.table_name as name,count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id group by b.table_name";
/* 209 */sql="SELECT SUBSTRING(borrow_data,1,4) as nd,SUBSTRING(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2) ORDER BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2)";
/* 212 */sql="SELECT SUBSTR(borrow_data,1,4) as nd,SUBSTR(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2) ORDER BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2)";
/* 225 */str1="select SUM(pborrow_state) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' ";
/* 234 */str3="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and (a.using_effect='1' or a.using_effect='' or a.using_effect is null)";
/* 236 */str3="select count(1) from t_archive_borrow a where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and (a.using_effect='1' or a.using_effect='' or a.using_effect is null)";
/* 243 */str5="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.using_effect='2'";
/* 245 */str5="select count(1) from t_archive_borrow a where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.using_effect='2'";
/* 252 */str7="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.using_effect='3'";
/* 254 */str7="select count(1) from t_archive_borrow a where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.using_effect='3'";
sql="SELECT SUBSTRING(borrow_data,1,4) as nd,SUBSTRING(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2) ORDER BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2)";
sql="SELECT SUBSTR(borrow_data,1,4) as nd,SUBSTR(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2) ORDER BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2)";
str1="select SUM(pborrow_state) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' ";
str1="select SUM(pborrow_state) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' ";
str3="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='1'";
str3="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='1'";
str5="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='2'";
str5="select count(1) from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and a.borrow_type='2'";
Stringsql="select b.table_name as name,count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id group by b.table_name";
Stringstr2="select count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where b.table_name='"+name+"' and a.borrow_type='1'";
Stringstr4="select count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id where b.table_name='"+name+"' and a.borrow_type='2'";
Stringsql="select b.table_name as name,count(1) as zs from t_archive_borrow a inner join t_archive_borrow_detail b on a.id=b.owner_id group by b.table_name";
sql="SELECT SUBSTRING(borrow_data,1,4) as nd,SUBSTRING(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2) ORDER BY SUBSTRING(borrow_data,1,4),SUBSTRING(borrow_data,6,2)";
sql="SELECT SUBSTR(borrow_data,1,4) as nd,SUBSTR(borrow_data,6,2) as yf FROM t_archive_borrow GROUP BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2) ORDER BY SUBSTR(borrow_data,1,4),SUBSTR(borrow_data,6,2)";
str3="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and (a.using_effect='1' or a.using_effect='' or a.using_effect is null)";
str3="select count(1) from t_archive_borrow a where SUBSTR(a.borrow_data,1,4)='"+nd+"' and SUBSTR(a.borrow_data,6,2)='"+yf+"' and (a.using_effect='1' or a.using_effect='' or a.using_effect is null)";
str5="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.using_effect='2'";
str7="select count(1) from t_archive_borrow a where SUBSTRING(a.borrow_data,1,4)='"+nd+"' and SUBSTRING(a.borrow_data,6,2)='"+yf+"' and a.using_effect='3'";