17 changed files with 218 additions and 83 deletions
@ -0,0 +1,30 @@ |
|||
package com.ccsens.health.persist.mapper; |
|||
|
|||
import com.ccsens.health.bean.po.Member; |
|||
import com.ccsens.health.bean.po.MemberExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface MemberMapper { |
|||
long countByExample(MemberExample example); |
|||
|
|||
int deleteByExample(MemberExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(Member record); |
|||
|
|||
int insertSelective(Member record); |
|||
|
|||
List<Member> selectByExample(MemberExample example); |
|||
|
|||
Member selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") Member record, @Param("example") MemberExample example); |
|||
|
|||
int updateByExample(@Param("record") Member record, @Param("example") MemberExample example); |
|||
|
|||
int updateByPrimaryKeySelective(Member record); |
|||
|
|||
int updateByPrimaryKey(Member record); |
|||
} |
@ -1,30 +0,0 @@ |
|||
package com.ccsens.health.persist.mapper; |
|||
|
|||
import com.ccsens.health.bean.po.Student; |
|||
import com.ccsens.health.bean.po.StudentExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface StudentMapper { |
|||
long countByExample(StudentExample example); |
|||
|
|||
int deleteByExample(StudentExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(Student record); |
|||
|
|||
int insertSelective(Student record); |
|||
|
|||
List<Student> selectByExample(StudentExample example); |
|||
|
|||
Student selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example); |
|||
|
|||
int updateByExample(@Param("record") Student record, @Param("example") StudentExample example); |
|||
|
|||
int updateByPrimaryKeySelective(Student record); |
|||
|
|||
int updateByPrimaryKey(Student record); |
|||
} |
@ -1,13 +1,13 @@ |
|||
package com.ccsens.health.service; |
|||
|
|||
import com.ccsens.health.bean.dto.StudentDto; |
|||
import com.ccsens.health.bean.vo.StudentVo; |
|||
import com.ccsens.health.bean.dto.MemberDto; |
|||
import com.ccsens.health.bean.vo.MemberVo; |
|||
import com.ccsens.util.bean.dto.QueryDto; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface IStudentService { |
|||
List<StudentVo.StudentHealthVo> getStudentHealthList(QueryDto<StudentDto.StudentHealth> params); |
|||
List<MemberVo.StudentHealthVo> getStudentHealthList(QueryDto<MemberDto.StudentHealth> params); |
|||
|
|||
StudentVo.ContactPatientVo getContactPatient(QueryDto<StudentDto.ContactPatientDto> params); |
|||
MemberVo.ContactPatientVo getContactPatient(QueryDto<MemberDto.ContactPatientDto> params); |
|||
} |
|||
|
Loading…
Reference in new issue