7 changed files with 196 additions and 0 deletions
@ -0,0 +1,50 @@ |
|||||||
|
package com.biutag.supervisiondata.mapper.wdpc2; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||||
|
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcXfsjCsDetail; |
||||||
|
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 WdpcXfsjCsDetailMapper extends BaseMapper<WdpcXfsjCsDetail> { |
||||||
|
@Select("<script>" |
||||||
|
+ "select id_code, count(id_code) count_num, detail from wdpc_grjd_xfsj_cs_detail " |
||||||
|
+ "where (detail like '%退%' or detail like '%迁%' or detail like '%军%') " |
||||||
|
+ "and (detail not like '%投诉%' and detail not like '%举报%' and detail not like '%不公%' and detail not like '%交房%') " |
||||||
|
+ "and id_code in " |
||||||
|
+ "<foreach item='item' index='index' collection='list' open='(' separator=',' close=')'>" |
||||||
|
+ "#{item}" |
||||||
|
+ "</foreach>" |
||||||
|
+ " group by id_code" |
||||||
|
+ "</script>") |
||||||
|
List<WdpcXfsjCsDetail> selectPetitionContent5(List<String> idNos); |
||||||
|
|
||||||
|
@Select("<script>" |
||||||
|
+ "select id_code, count(id_code) count_num, detail from wdpc_grjd_xfsj_cs_detail " |
||||||
|
+ "where (detail like '%投诉%' or detail like '%举报%') " |
||||||
|
+ "and (detail not like '%退%' and detail not like '%迁%' and detail not like '%军%' and detail not like '%不公%' and detail not like '%交房%') " |
||||||
|
+ "and id_code in " |
||||||
|
+ "<foreach item='item' index='index' collection='list' open='(' separator=',' close=')'>" |
||||||
|
+ "#{item}" |
||||||
|
+ "</foreach>" |
||||||
|
+ " group by id_code" |
||||||
|
+ "</script>") |
||||||
|
List<WdpcXfsjCsDetail> selectPetitionContent3(List<String> idNos); |
||||||
|
|
||||||
|
@Select("<script>" |
||||||
|
+ "select id_code, count(id_code) count_num, detail from wdpc_grjd_xfsj_cs_detail " |
||||||
|
+ "where (detail like '%不公%' or detail like '%交房%') " |
||||||
|
+ "and (detail not like '%退%' and detail not like '%迁%' and detail not like '%军%' and detail not like '%投诉%' and detail not like '%举报%') " |
||||||
|
+ "and id_code in " |
||||||
|
+ "<foreach item='item' index='index' collection='list' open='(' separator=',' close=')'>" |
||||||
|
+ "#{item}" |
||||||
|
+ "</foreach>" |
||||||
|
+ " group by id_code" |
||||||
|
+ "</script>") |
||||||
|
List<WdpcXfsjCsDetail> selectPetitionContent2(List<String> idNos); |
||||||
|
} |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
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_xfsj_cs_detail`") |
||||||
|
public class WdpcXfsjCsDetail implements Serializable { |
||||||
|
|
||||||
|
/** |
||||||
|
* 身份证号码 |
||||||
|
*/ |
||||||
|
@TableField("`id_code`") |
||||||
|
String idCode; |
||||||
|
|
||||||
|
@TableField("`count_num`") |
||||||
|
Integer countNum; |
||||||
|
|
||||||
|
@TableField("`detail`") |
||||||
|
String detail; |
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
package com.biutag.supervisiondata.repository; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import com.biutag.supervisiondata.mapper.wdpc2.WdpcXfsjCsDetailMapper; |
||||||
|
import com.biutag.supervisiondata.pojo.entity.wdpc2.WdpcXfsjCsDetail; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author kami on 2024-12-04 16:18:26 |
||||||
|
* @version 0.0.1 |
||||||
|
* @since 1.8 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class WdpcXfsjCsDetailRepository extends ServiceImpl<WdpcXfsjCsDetailMapper, WdpcXfsjCsDetail> { |
||||||
|
} |
||||||
Loading…
Reference in new issue