临时提交

This commit is contained in:
panlinlin
2024-08-05 08:00:16 +08:00
parent 18c51919a3
commit 96bbd19e81
2 changed files with 44 additions and 6 deletions

View File

@@ -37,9 +37,9 @@ public interface RegionMapper {
@Select("SELECT * from wvp_common_region WHERE id = #{id} ")
Region queryOne(@Param("id") int id);
@Select(" select coalesce(dc.gb_civil_code, dc.civil_code) as civil_code " +
@Select(" select dc.civil_code as civil_code " +
" from wvp_device_channel dc " +
" where coalesce(dc.gb_civil_code, dc.civil_code) not in " +
" where dc.civil_code not in " +
" (select device_id from wvp_common_region)")
List<String> getUninitializedCivilCode();