whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.fgkj.mapper.impl;
 
import com.fgkj.dto.Avoid_plan;
 
import java.util.List;
 
public interface Avoid_planMapper{
 
    //添加规避时间
    public int addPro(List<Avoid_plan> list);
 
    //修改规避时间
    public int updatePro(List<Avoid_plan> list);
 
     //删除规避时间
    public boolean delPro(Object obj);
 
    //显示所有
    public List searchAll();
 
 
    /*public static void main(String[] args) throws ParseException {
         Avoid_planImpl aipml=new Avoid_planImpl();
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
         Date date1 = sdf.parse("2000-01-01");
         Date date2 = sdf.parse("2020-01-01");
 
         Avoid_plan a1=new Avoid_plan();
         a1.setStart_time(ActionUtil.getSimpDate(date1));
         a1.setStop_time(ActionUtil.getSimpDate(date2));
         //System.out.println(a1);
         List list=new ArrayList();
         list.add(a1);
         Boolean bl=aipml.addPro(list);
         System.out.println(bl);
    }*/
}