通过行政区划下载excel新增

master
徐杰盟 2024-05-29 15:21:54 +08:00
parent 981c0a4eb6
commit a4933ac0fc
2 changed files with 7 additions and 0 deletions

View File

@ -27,4 +27,7 @@ public class CommDto extends FindPageDto {
@ApiModelProperty(value = "版本号") @ApiModelProperty(value = "版本号")
private Integer version; private Integer version;
@ApiModelProperty(value = "行政区划编码")
private String adcd;
} }

View File

@ -20,6 +20,10 @@
<if test="dto.type != null and dto.type != '' "> <if test="dto.type != null and dto.type != '' ">
AND V.TYPE = #{dto.type} AND V.TYPE = #{dto.type}
</if> </if>
<if test="dto.adcd != null and dto.adcd != '' ">
AND V.ADCD LIKE CONCAT('', #{dto.adcd}, '%')
</if>
<if test="dto.version != null and dto.version != '' "> <if test="dto.version != null and dto.version != '' ">
AND V.VERSION = #{dto.version} AND V.VERSION = #{dto.version}
</if> </if>