|
@ -3075,11 +3075,32 @@ public class HcyyEntranceService {
|
|
|
|
|
|
//=====================结算==============================
|
|
//=====================结算==============================
|
|
public List<Map<String, Object>> createSQLQuery(String sql, Map<String, Object> params, Integer page, Integer size){
|
|
public List<Map<String, Object>> createSQLQuery(String sql, Map<String, Object> params, Integer page, Integer size){
|
|
return hibenateUtils.createSQLQuery(sql,params,page,size);
|
|
|
|
|
|
logger.info("createSQLQuery=== "+sql);
|
|
|
|
List<Map<String, Object>> result = null;
|
|
|
|
long beginTime = System.currentTimeMillis();
|
|
|
|
try {
|
|
|
|
result = hibenateUtils.createSQLQuery(sql,params,page,size);
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
long endTime = System.currentTimeMillis();
|
|
|
|
System.out.println("总共消耗时间为:" + (endTime - beginTime));
|
|
|
|
|
|
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
public List<Map<String, Object>> jdbcSQLQuery(String sql){
|
|
public List<Map<String, Object>> jdbcSQLQuery(String sql){
|
|
return jdbcTemplate.queryForList(sql);
|
|
|
|
|
|
logger.info("jdbcSQLQuery=== "+sql);
|
|
|
|
List<Map<String, Object>> result = null;
|
|
|
|
long beginTime = System.currentTimeMillis();
|
|
|
|
try {
|
|
|
|
result = jdbcTemplate.queryForList(sql);
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
long endTime = System.currentTimeMillis();
|
|
|
|
System.out.println("总共消耗时间为:" + (endTime - beginTime));
|
|
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -3097,7 +3118,16 @@ public class HcyyEntranceService {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public JSONObject SP_SST_JSDP_JSMX_GJYB(String fzxbh0,String yyjgdm,String mct,String mcn){
|
|
public JSONObject SP_SST_JSDP_JSMX_GJYB(String fzxbh0,String yyjgdm,String mct,String mcn){
|
|
return hibenateUtils.SP_SST_JSDP_JSMX_GJYB(fzxbh0,yyjgdm,mct,mcn);
|
|
|
|
|
|
long beginTime = System.currentTimeMillis();
|
|
|
|
JSONObject result = null;
|
|
|
|
try {
|
|
|
|
result = hibenateUtils.SP_SST_JSDP_JSMX_GJYB(fzxbh0,yyjgdm,mct,mcn);
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
long endTime = System.currentTimeMillis();
|
|
|
|
System.out.println("总共消耗时间为:" + (endTime - beginTime));
|
|
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|