5 changed files with 139 additions and 11 deletions
@ -0,0 +1,23 @@
|
||||
package com.biutag.supervisiondata.mapper.wdpc2; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcXdry; |
||||
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 WdpcXdryMapper extends BaseMapper<WdpcXdry> { |
||||
@Select("<script>" |
||||
+ "select sfzh, xm, fxdw_dwmc, fxjsrq, fxqsrq, chdw_dwmc, gkxz_mc, jlsmc, rsrq, csrq from wdpc_grjd_xdry " |
||||
+ "where (swrq is not null or swyy is not null) and sfzh in " |
||||
+ "<foreach item='item' index='index' collection='list' open='(' separator=',' close=')'>" |
||||
+ "#{item}" |
||||
+ "</foreach>" |
||||
+ "</script>") |
||||
List<WdpcXdry> selectXIDU(List<String> idCard); |
||||
} |
||||
@ -0,0 +1,51 @@
|
||||
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; |
||||
|
||||
@Data |
||||
@TableName("`wdpc_grjd_xdry`") |
||||
public class WdpcXdry implements Serializable { |
||||
// 身份证
|
||||
@TableField("sfzh") |
||||
String sfzh; |
||||
|
||||
// 姓名
|
||||
@TableField("xm") |
||||
String xm; |
||||
|
||||
// 服刑单位
|
||||
@TableField("fxdw_dwmc") |
||||
String fxdwDwmc; |
||||
|
||||
// 服刑结束日期
|
||||
@TableField("fxjsrq") |
||||
String fxjsrq; |
||||
|
||||
// 服刑起止日期
|
||||
@TableField("fxqsrq") |
||||
String fxqsrq; |
||||
|
||||
// 查获单位
|
||||
@TableField("chdw_dwmc") |
||||
String chdwDwmc; |
||||
|
||||
// 管控现状
|
||||
@TableField("gkxz_mc") |
||||
String gkxzMc; |
||||
|
||||
// 拘留所名称
|
||||
@TableField("jlsmc") |
||||
String jlsmc; |
||||
|
||||
// 入所日期
|
||||
@TableField("rsrq") |
||||
String rsrq; |
||||
|
||||
// 出所日期
|
||||
@TableField("csrq") |
||||
String csrq; |
||||
} |
||||
@ -0,0 +1,15 @@
|
||||
package com.biutag.supervisiondata.repository; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.biutag.supervisiondata.mapper.wdpc2.WdpcXdryMapper; |
||||
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcXdry; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* @author kami on 2024-12-04 16:18:26 |
||||
* @version 0.0.1 |
||||
* @since 1.8 |
||||
*/ |
||||
@Service |
||||
public class WdpcXdryRepository extends ServiceImpl<WdpcXdryMapper, WdpcXdry> { |
||||
} |
||||
Loading…
Reference in new issue