Browse Source

fix: bug fix

zhangying 9 months ago
parent
commit
8b1d2d7880

+ 0 - 1
src/main/java/com/hz/employmentsite/services/impl/baseSettings/SiteInfoImpl.java

@@ -215,7 +215,6 @@ public class SiteInfoImpl implements SiteInfoService {
             // 删除主表
             PcSiteExample contactExample = new PcSiteExample();
             contactExample.or().andSiteIDEqualTo(curSiteID);
-            pcSiteMapper.deleteByExample(contactExample);
             result += pcSiteMapper.deleteByExample(contactExample);
         }
         return result;

+ 2 - 2
src/main/java/com/hz/employmentsite/services/impl/jobUserManager/JobUserServiceImpl.java

@@ -347,7 +347,7 @@ public class JobUserServiceImpl implements JobUserService {
                 experience.setCreateUserID(userId);
                 pcExperienceMapper.insert(experience);
             });
-            if (!data.getJobHonorList().isEmpty()){
+            if (data.getJobHonorList() != null && !data.getJobHonorList().isEmpty()){
                 data.getJobHonorList().stream().forEach(honor -> {
                     honor.setHonorID(UUID.randomUUID().toString());
                     honor.setJobUserID(data.getJobUserID());
@@ -699,7 +699,7 @@ public class JobUserServiceImpl implements JobUserService {
             if (stringUtils.IsNullOrEmpty(item.getBirthDayStr())){
                 errorInfo += "请填写出生日期!";
             } else {
-                item.setBirthDay(dateUtils.StrToDate(item.getBirthDayStr()));
+                item.setBirthDay(dateUtils.StrToDate(item.getBirthDayStr(), "yyyy-MM-dd"));
             }
             if (!stringUtils.IsNullOrEmpty(item.getIdentityNumber())){
                 if(regexUtils.theIdCardIsValid(item.getIdentityNumber())) {

BIN
src/main/resources/static/doc/template/企业信息导入模板.xlsx


BIN
src/main/resources/static/doc/template/岗位信息导入模板.xlsx


BIN
src/main/resources/static/doc/template/求职人员导入模板.xlsx


+ 0 - 2
vue/src/views/companyService/company/index.vue

@@ -239,8 +239,6 @@ export default defineComponent({
         {cnName: '所属县区', enName: 'regionName', width: 100},
         {cnName: '所属街道', enName: 'streetName', width: 100},
         {cnName: '法定代表人(负责人)', enName: 'frName', width: 140},
-        {cnName: '企业所在经度', enName: 'longitude', width: 100},
-        {cnName: '企业所在纬度', enName: 'latitude', width: 100},
         {cnName: '企业成立日期', enName: 'establishmentTime', width: 140},
         {cnName: '营业执照有效期', enName: 'validDateStr', width: 100},
         {cnName: '企业注册资本', enName: 'registeredCapital', width: 100},

+ 0 - 2
vue/src/views/jobUserManager/jobuser/index.vue

@@ -308,8 +308,6 @@ export default defineComponent({
         {cnName: '体重(kg)', enName: 'weight', width: 100},
         {cnName: '视力', enName: 'vision', width: 100},
         {cnName: '家庭住址', enName: 'familyAddress', width: 150},
-        {cnName: '经度', enName: 'longitude', width: 120},
-        {cnName: '纬度', enName: 'latitude', width: 120},
         {cnName: '个人评价', enName: 'hobby', width: 180},
         {cnName: '个人技能', enName: 'personalSkills', width: 180},
       ],