From b9ac482885d1e43eb8e48d5976081d84ce72da1f Mon Sep 17 00:00:00 2001 From: 81041 <81041@DESKTOP-025NVD9> Date: 星期五, 11 一月 2019 10:16:25 +0800 Subject: [PATCH] 批量查询 --- gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java b/gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java index a88ed4e..afe20d6 100644 --- a/gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java +++ b/gx_tieta/src/com/fgkj/dao/impl/BattInfImpl.java @@ -4507,7 +4507,7 @@ //+ " limit ?,? ";StationName1 like ? and StationName2 like ? and StationName3 like ? and StationName5 like ? " //,(page.getPageCurr()-1)*page.getPageSize(),page.getPageSize(),"%"+binf.getStationName1()+"%","%"+binf.getStationName2()+"%","%"+binf.getStationName3()+"%", //鏉′欢 - String sql0=" and stationid=? "; //鍏蜂綋鏈烘埧 + String sql0=" and db_battinf.tb_battinf.stationid=? "; //鍏蜂綋鏈烘埧 String sql1=" and stationname1=? ";//鐪� String sql2=" and stationname2=? ";//甯� String sql5=" and stationname5=? ";//鍖哄幙 @@ -4615,7 +4615,7 @@ //+ " limit ?,? ";StationName1 like ? and StationName2 like ? and StationName3 like ? and StationName5 like ? " //,(page.getPageCurr()-1)*page.getPageSize(),page.getPageSize(),"%"+binf.getStationName1()+"%","%"+binf.getStationName2()+"%","%"+binf.getStationName3()+"%", //鏉′欢 - String sql0=" and stationid=? "; //鍏蜂綋鏈烘埧 + String sql0=" and db_battinf.tb_battinf.stationid=? "; //鍏蜂綋鏈烘埧 String sql1=" and stationname1=? ";//鐪� String sql2=" and stationname2=? ";//甯� String sql5=" and stationname5=? ";//鍖哄幙 @@ -4717,9 +4717,9 @@ BattInfImpl biml = new BattInfImpl(); BattInf binf = new BattInf(); - binf.setNum(2); + binf.setNum(0); binf.setBattGroupId(1000001); - binf.setStationName("鐧捐壊"); + binf.setStationName("42000017"); binf.setStationName1(""); binf.setStationName2(""); binf.setStationName3(""); -- Gitblit v1.9.1