jiangping
2023-08-17 6365ab0a976afdd247742c9b3dca15deb3a7a7a1
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package doumeemes.service.ext;
 
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import doumeemes.core.model.LoginUserInfo;
import doumeemes.core.model.PageData;
import doumeemes.core.model.PageWrap;
import doumeemes.dao.business.model.Plans;
import doumeemes.dao.business.model.Workorder;
import doumeemes.dao.ext.vo.PlansExtListCountVO;
import doumeemes.dao.ext.vo.PlansExtListH5VO;
import doumeemes.dao.ext.vo.PlansExtListVO;
import doumeemes.dao.ext.dto.QueryPlansExtDTO;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
 
import java.io.IOException;
import java.util.List;
 
/**
 * 生产计划Service定义
 * @author 江蹄蹄
 * @date 2022/04/20 11:01
 */
public interface PlansExtService {
 
    /**
     * 分页查询
     * @author 江蹄蹄
     * @date 2022/04/20 11:01
     */
    PageData<PlansExtListVO> findPage(PageWrap<QueryPlansExtDTO> pageWrap);
 
    void importPlans(MultipartFile file) throws IOException;
 
    Integer create(Plans plans);
 
    Integer insertForWorkPlan(Plans plans);
 
    void updateForPlan(Plans p);
    void updateById(Plans plans);
    void cancelById(Plans plans);
    void closeById(Plans plans);
    void distributeById( Workorder param );
    void publishById(Plans plans);
 
    void publishByIdInBatch(List<Integer> idList);
    void backByIdInBatch(List<Integer> idList);
 
    void backById(Plans plans);
 
    void pauseById(Plans plans);
    void regainById(Plans plans);
 
    void distributeByBatch(List<Workorder> orders);
 
    void deleteById(Integer id);
 
    void deleteByIdInBatch(List<Integer> idList);
 
    PlansExtListVO findById(Integer id);
 
    PlansExtListCountVO pageCount(QueryPlansExtDTO param);
 
    PlansExtListH5VO findByIdH5(Integer id);
 
    String  getNextCode(Integer comId );
    String  getNextBatch(Integer comId );
 
    Integer createDirect(Plans p);
 
    List<Plans>  getPlansList(QueryWrapper queryWrapper);
 
    void autoClose();
 
    void pauseByIdForStandard(Plans model,LoginUserInfo userInfo);
    void regainByIdForStandard(Plans model, LoginUserInfo userInfo);
    List<PlansExtListVO> getListByWorkPlan(Integer workPlanId);
}