whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/mapper/impl/BattInfAgainImpl.java
@@ -9,10 +9,10 @@
// import java.util.Date;
// import java.util.List;
//
// import com.fgkj.controller.ActionUtil;
// import com.fgkj.util.*;
// import com.fgkj.mapper.BaseDAO;
// import com.fgkj.mapper.CallBack;
// import com.fgkj.mapper.DAOHelper;
//
// import com.fgkj.mapper.LimitNumberFactory;
// import com.fgkj.db.DBUtil;
// import com.fgkj.dto.BattInf;
@@ -51,7 +51,7 @@
//
//             //minf.setFault_type(rs.getString("fault_type"));
//             if (rs.getString("maint_done_time") != null)
//                mainf.setMaint_done_time(DAOHelper.sdf.parse(rs
//                mainf.setMaint_done_time(DateUtil.sdf.parse(rs
//                      .getString("maint_done_time")));
//
//             tdata.setBattGroupId(rs.getInt("battGroupId"));
@@ -61,7 +61,7 @@
//             tdata.setTest_record_count(rs.getInt("test_record_count"));
//
//             if (rs.getString("test_starttime") != null)
//                tdata.setTest_starttime(DAOHelper.sdf.parse(rs
//                tdata.setTest_starttime(DateUtil.sdf.parse(rs
//                      .getString("test_starttime")));
//
//                 tdata.setTest_starttype(rs.getInt("test_starttype"));
@@ -204,7 +204,7 @@
//          }
//          //包机人
//          String userSqlF=" and db_user.tb_user_inf.uname=? and db_user.tb_user_inf.ubaojiusr=1 ";
//          if(uinf.getUName().equals("0")){
//          if(uinf.getuName().equals("0")){
//             baseSql=baseSql;
//          }else{
//             baseSql+=userSqlF;
@@ -243,8 +243,8 @@
//
//          sql=baseSql+endSql;
//          //System.out.println(sql);
//          if(uinf.getUName().equals("0")){
//             list = DAOHelper.executeQuery(
//          if(uinf.getuName().equals("0")){
//             list = DateUtil.executeQuery(
//                   sql,
//                   DBUtil.getConn(),
//                   new Object[] {
@@ -268,7 +268,7 @@
//                         },
//                   new BattInfAgainImpl());
//          }else{
//             list = DAOHelper.executeQuery(
//             list = DateUtil.executeQuery(
//                   sql,
//                   DBUtil.getConn(),
//                   new Object[] {
@@ -287,7 +287,7 @@
//                         "%"+binf.getBattGroupName1()+"%",
//                         binf.getMonVolStd(),
//                         binf.getMonCapStd(),
//                         uinf.getUName(),
//                         uinf.getuName(),
//                         mainf.getMaint_done_time(),
//                         mainf.getMaint_done_time1()
//                         },
@@ -388,7 +388,7 @@
//          }
//          //包机人
//          String userSqlF=" and db_user.tb_user_inf.uname=? and db_user.tb_user_inf.ubaojiusr=1 ";
//          if(uinf.getUName().equals("0")){
//          if(uinf.getuName().equals("0")){
//             baseSql=baseSql;
//          }else{
//             baseSql+=userSqlF;
@@ -427,8 +427,8 @@
//          String limitSql=" limit ?,? ";
//          sql=baseSql+endSql+limitSql;
//          System.out.println(sql);
//          if(uinf.getUName().equals("0")){
//             list = DAOHelper.executeQueryLimit(
//          if(uinf.getuName().equals("0")){
//             list = DateUtil.executeQueryLimit(
//                   sql,
//                   conn,
//                   new Object[] {
@@ -453,7 +453,7 @@
//                         },
//                   new BattInfAgainImpl());
//          }else{
//             list = DAOHelper.executeQueryLimit(
//             list = DateUtil.executeQueryLimit(
//                   sql,
//                   conn,
//                   new Object[] {
@@ -472,7 +472,7 @@
//                         "%"+binf.getBattGroupName1()+"%",
//                         binf.getMonVolStd(),
//                         binf.getMonCapStd(),
//                         uinf.getUName(),
//                         uinf.getuName(),
//                         mainf.getMaint_done_time(),
//                         mainf.getMaint_done_time1(),(bmd.getPage().getPageCurr() - 1)* bmd.getPage().getPageSize(),
//                         bmd.getPage().getPageSize()
@@ -550,7 +550,7 @@
//       p.setPageSize(10);
//
//       User_inf uinf=new User_inf();
//       uinf.setUName("0");
//       uinf.setuName("0");
//       Batt_Maint_Dealarm bmd = new Batt_Maint_Dealarm();
//       bmd.setBinf(binf);
//       bmd.setMainf(mainf);