7 changed files with 116 additions and 7 deletions
@ -0,0 +1,17 @@ |
|||||||
|
package com.biutag.supervisiondata.mapper.wdpc2; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||||
|
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcYbxx; |
||||||
|
import org.apache.ibatis.annotations.Select; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author kami on 2024-12-06 10:23:13 |
||||||
|
* @version 0.0.1 |
||||||
|
* @since 1.8 |
||||||
|
*/ |
||||||
|
public interface WdpcYbxxMapper extends BaseMapper<WdpcYbxx> { |
||||||
|
@Select("select distinct id_code from wdpc_grjd_ybxx") |
||||||
|
List<String> selectMedicalPressure(); |
||||||
|
} |
||||||
@ -0,0 +1,28 @@ |
|||||||
|
package com.biutag.supervisiondata.pojo.entity.wdpc2; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField; |
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
|
/** |
||||||
|
* 医保信息 |
||||||
|
* @author kami on 2024-12-06 10:20:42 |
||||||
|
* @version 0.0.1 |
||||||
|
* @since 1.8 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@TableName("`wdpc_grjd_ybxx`") |
||||||
|
public class WdpcYbxx implements Serializable { |
||||||
|
|
||||||
|
/** |
||||||
|
* 身份证号码 |
||||||
|
*/ |
||||||
|
@TableField("`id_code`") |
||||||
|
String idCode; |
||||||
|
|
||||||
|
@TableField("`name`") |
||||||
|
String name; |
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,16 @@ |
|||||||
|
package com.biutag.supervisiondata.repository; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import com.biutag.supervisiondata.mapper.wdpc2.WdpcYbxxMapper; |
||||||
|
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcYbxx; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author kami on 2024-12-06 10:25:23 |
||||||
|
* @version 0.0.1 |
||||||
|
* @since 1.8 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class WdpcYbxxRepository extends ServiceImpl<WdpcYbxxMapper, WdpcYbxx> { |
||||||
|
|
||||||
|
} |
||||||
Loading…
Reference in new issue