| | |
| | | import com.fgkj.dto.Process_survey;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | | import com.fgkj.dto.User_inf;
|
| | | import com.sun.scenario.effect.Bloom;
|
| | |
|
| | | public class BattInfServices {
|
| | | private ServiceModel model;
|
| | |
| | | }
|
| | | return model;
|
| | | }
|
| | | //判断新增的机房是否存在
|
| | | public ServiceModel judgeBatt(Object obj) {
|
| | | List list=((BattInfImpl)dao).judgeBatt(obj);
|
| | | if (list != null && list.size() > 0) {
|
| | | model.setCode(1);
|
| | | model.setData(list);
|
| | | model.setMsg("查询成功!");
|
| | | }else{
|
| | | model.setCode(0);
|
| | | model.setMsg("查询失败!");
|
| | | }
|
| | | return model;
|
| | | }
|
| | |
|
| | | public static void main(String[] args) {
|
| | | //new BattInfServices().findMenu();
|
| | | BattInf b=new BattInf();
|