陈昶聿
3 天以前 3acf9415fce2dd21c0fd5d67805b72a8bde24a81
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
package com.smartor.mapper;
 
import com.smartor.domain.MchFollowupArchiveCandidate;
import com.smartor.domain.MchFollowupPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 妇幼随访计划主表 Mapper。
 */
@Mapper
public interface MchFollowupPlanMapper {
 
    int insertMchFollowupPlan(MchFollowupPlan plan);
 
    int updateMchFollowupPlan(MchFollowupPlan plan);
 
    MchFollowupPlan selectMchFollowupPlanById(@Param("id") Long id);
 
    List<MchFollowupPlan> selectActiveByArchive(@Param("archiveType") String archiveType,
                                                @Param("archiveId") Long archiveId,
                                                @Param("archiveDetailId") Long archiveDetailId);
 
    int cancelById(@Param("id") Long id, @Param("updateTime") java.util.Date updateTime);
 
    int completeById(@Param("id") Long id, @Param("updateTime") java.util.Date updateTime);
 
    List<MchFollowupArchiveCandidate> selectCandidates(@Param("orgid") String orgid,
                                                       @Param("limit") int limit);
}