| 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.dto.AutoWorkReportDTO; | 
| 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); | 
|   | 
|     /** | 
|      * 一键报工 | 
|      * @param user | 
|      * @param autoWorkReportDTO | 
|      */ | 
|     void autoWorkReport(LoginUserInfo user, AutoWorkReportDTO autoWorkReportDTO); | 
| } |