| | |
| | | import com.fgkj.dto.*; |
| | | import com.fgkj.mapper.AlarmDaoFactory; |
| | | import com.fgkj.mapper.TestDaoFactory; |
| | | import com.fgkj.mapper.UinfDaoFactory; |
| | | import com.fgkj.mapper.impl.*; |
| | | import com.fgkj.util.ActionUtil; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | //System.out.println(listall.size()); |
| | | return listall; |
| | | } |
| | | //6.1电池充放电删除操作 |
| | | /** |
| | | * 6.1电池充放电删除操作 |
| | | * 暂时不做,后续对接前端再沟通实现 |
| | | */ |
| | | public ServiceModel delete(Object obj){ |
| | | List<BattInf> list=(List<BattInf>) obj; |
| | | /*List<BattInf> list=(List<BattInf>) obj; |
| | | ArrayList<String> sql_str = new ArrayList<String>();//存放所有的sql语句 |
| | | List<User_log> listU=new ArrayList();//存放user_log |
| | | if(list!=null&&list.size()>0){ |
| | |
| | | } |
| | | } |
| | | // Boolean bl=DateUtil.makeManualCommit(DBUtil.getConn(), sql_str); |
| | | //TODO perry待做 |
| | | Boolean bl=true; |
| | | |
| | | new User_logService().addPro(listU);//将用户的操作记录下来 |
| | |
| | | model.setCode(0); |
| | | model.setMsg("删除失败!"); |
| | | } |
| | | return model; |
| | | return model;*/ |
| | | return null; |
| | | } |
| | | |
| | | public static void main(String[] args) throws ParseException { |