guoshilong
2024-03-31 a4cd27af8c445e2b043aa146ee38f04222c992e7
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
package cn.gistack.sm.sjztmd.service;
 
import cn.gistack.sm.sjztmd.entity.AttResBase;
import cn.gistack.sm.sjztmd.entity.TbAttResBase;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
import java.util.Map;
 
/**
 * @ClassName IAttResBaseService
 * @Description TODO
 * @author zhongrj
 * @date 2023/8/14
 * @Version 1.0
 */
public interface ITbAttResBaseService extends IService<TbAttResBase> {
 
    /**
     * 查询水库填报详情信息
     * @param guid
     * @return
     */
    TbAttResBase getDetailByGuid(String guid);
 
    /**
     * 编辑
     * @param tbAttResBase
     * @return
     */
    boolean updateByGuid(TbAttResBase tbAttResBase);
 
    /**
     * 审核
     * @param tbAttResBase
     * @return
     */
    boolean auditByGuid(TbAttResBase tbAttResBase);
 
    /**
     * 查询所有水库填报的状态信息
     * @param resGuid
     * @return
     */
    List<Map<String, Object>> getAllWaterFillInfoByResGuid(String resGuid);
 
    /**
     * 更新水库信息填报最终状态
     * @param resGuid 水库编码
     * @param state 状态值
     */
    Boolean updateFinalState(String resGuid, int state);
 
    void initTbData();
}