97 lines
1.8 KiB
Java
97 lines
1.8 KiB
Java
package com.zcloud.service.keyProjects;
|
||
|
||
import com.zcloud.entity.Page;
|
||
import com.zcloud.entity.PageData;
|
||
|
||
import java.util.List;
|
||
|
||
/**
|
||
* 说明:外包工程
|
||
* 作者:luoxiaobao
|
||
* 时间:2022-06-14
|
||
* 官网:www.zcloudchina.com
|
||
*/
|
||
public interface OutSourcedService{
|
||
|
||
/**新增
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public void save(PageData pd)throws Exception;
|
||
|
||
/**删除
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public void delete(PageData pd)throws Exception;
|
||
|
||
/**修改
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public void edit(PageData pd)throws Exception;
|
||
|
||
/**列表
|
||
* @param page
|
||
* @throws Exception
|
||
*/
|
||
public List<PageData> list(Page page)throws Exception;
|
||
|
||
/**列表(全部)
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public List<PageData> listAll(PageData pd)throws Exception;
|
||
|
||
/**通过id获取数据
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public PageData findById(PageData pd)throws Exception;
|
||
|
||
/**批量删除
|
||
* @param ArrayDATA_IDS
|
||
* @throws Exception
|
||
*/
|
||
public void deleteAll(String[] ArrayDATA_IDS)throws Exception;
|
||
|
||
|
||
String getDeptId(String userId);
|
||
|
||
/**删除
|
||
* @param pd
|
||
* @throws Exception
|
||
*/
|
||
public void jie(PageData pd)throws Exception;
|
||
|
||
|
||
/**
|
||
* 当前用户处罚重点工程列表 用于APP
|
||
* @param page
|
||
* @return
|
||
*/
|
||
public List<PageData> getPUNISHlist(Page page)throws Exception;
|
||
|
||
//校验结束重点工程是否有为完成的内容
|
||
PageData jieshuOutSourced(PageData pd);
|
||
|
||
void updateState(PageData pd);
|
||
|
||
/** 查询隐患的重点工程列表 排序规则不一致
|
||
* @param page
|
||
* @throws Exception
|
||
*/
|
||
public List<PageData> listHiddenOutsourced(Page page)throws Exception;
|
||
|
||
/**
|
||
* 重点工程管理列表APP
|
||
* @param page
|
||
* @return
|
||
* @throws Exception
|
||
*/
|
||
public List<PageData> outSouceslistPage(Page page)throws Exception;
|
||
|
||
|
||
}
|
||
|