Преглед изворни кода

feat: 合创众盈发起认证修改

lixuesong пре 1 година
родитељ
комит
57d333022c

+ 2 - 0
db/v2.0/20240205.sql

@@ -0,0 +1,2 @@
+alter table sys_dept_sub
+    modify subject_location varchar(64) null comment '税源地';

+ 2 - 2
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/SysUserSignCertController.java

@@ -316,10 +316,10 @@ public class SysUserSignCertController {
 			redisTemplate.opsForValue().set(redisKey, JSONUtil.toJsonStr(sortedList), 24, TimeUnit.HOURS);
 		}
 
-		// 过滤出阿拉钉的渠道
+		// 过滤出合创众盈的渠道
 		Collection<SubjectLocation> hechuangList =
 				CollUtil.intersection(CollUtil.toList(userSignCertDTO.getSubjectLocation()), SubjectLocation.getByGigType(GigTypeEnum.HE_CHUANG));
-		if (!oladingList.isEmpty()) {
+		if (!hechuangList.isEmpty()) {
 			List<SubjectLocation> sortedList = oladingList.stream()
 					.sorted(Comparator.comparing(SubjectLocation::getSort))
 					.collect(Collectors.toList());