|
|
@ -2,9 +2,12 @@ package com.zdxt.enforcementcode.service.impl; |
|
|
|
|
|
|
|
|
import cn.hutool.core.util.IdUtil; |
|
|
import cn.hutool.core.util.IdUtil; |
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
|
|
import com.zdxt.enforcementcode.common.commonenum.MsgSourceTypeEnum; |
|
|
import com.zdxt.enforcementcode.common.commonenum.MsgSourceTypeEnum; |
|
|
|
|
|
import com.zdxt.enforcementcode.domain.EnterpriseInformation; |
|
|
import com.zdxt.enforcementcode.domain.bean.EnforcementEducationServices; |
|
|
import com.zdxt.enforcementcode.domain.bean.EnforcementEducationServices; |
|
|
import com.zdxt.enforcementcode.domain.bo.thirdparty.YuGaoMsgParamBo; |
|
|
import com.zdxt.enforcementcode.domain.bo.thirdparty.YuGaoMsgParamBo; |
|
|
|
|
|
import com.zdxt.enforcementcode.mapper.EnterpriseInformationMapper; |
|
|
import com.zdxt.enforcementcode.service.ISysMessageViewLogService; |
|
|
import com.zdxt.enforcementcode.service.ISysMessageViewLogService; |
|
|
import com.zdxt.enforcementcode.service.thirdparty.ISIQService; |
|
|
import com.zdxt.enforcementcode.service.thirdparty.ISIQService; |
|
|
import org.dromara.common.core.utils.MapstructUtils; |
|
|
import org.dromara.common.core.utils.MapstructUtils; |
|
|
@ -47,6 +50,7 @@ public class EfcodeCpNoticeServiceImpl implements IEfcodeCpNoticeService { |
|
|
private final EfcodeCpNoticeMessageMapper noticeMessageMapper; |
|
|
private final EfcodeCpNoticeMessageMapper noticeMessageMapper; |
|
|
private final ISysMessageViewLogService sysMessageViewLogService; |
|
|
private final ISysMessageViewLogService sysMessageViewLogService; |
|
|
private final ISIQService siqService; |
|
|
private final ISIQService siqService; |
|
|
|
|
|
private final EnterpriseInformationMapper enterpriseInformationMapper; |
|
|
/** |
|
|
/** |
|
|
* 查询行政执法检查计划-预告 |
|
|
* 查询行政执法检查计划-预告 |
|
|
*/ |
|
|
*/ |
|
|
@ -143,6 +147,11 @@ public class EfcodeCpNoticeServiceImpl implements IEfcodeCpNoticeService { |
|
|
getSendYuGaoMsg(entity); |
|
|
getSendYuGaoMsg(entity); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//同步更新企业电话
|
|
|
|
|
|
UpdateWrapper<EnterpriseInformation> updateWrapper = new UpdateWrapper<>(); |
|
|
|
|
|
updateWrapper.eq("enterprise_number",entity.getEnterpriseNumber()); |
|
|
|
|
|
updateWrapper.set("enterprise_tel",entity.getContactPhone()); |
|
|
|
|
|
enterpriseInformationMapper.update(updateWrapper); |
|
|
return "操作成功"; |
|
|
return "操作成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -186,6 +195,12 @@ public class EfcodeCpNoticeServiceImpl implements IEfcodeCpNoticeService { |
|
|
if (update.getStatus() != null && update.getStatus() == 1L) { |
|
|
if (update.getStatus() != null && update.getStatus() == 1L) { |
|
|
generateSystemMessage(update); |
|
|
generateSystemMessage(update); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//同步更新企业电话
|
|
|
|
|
|
UpdateWrapper<EnterpriseInformation> updateWrapper = new UpdateWrapper<>(); |
|
|
|
|
|
updateWrapper.eq("enterprise_number",bo.getEnterpriseNumber()); |
|
|
|
|
|
updateWrapper.set("enterprise_tel",bo.getContactPhone()); |
|
|
|
|
|
enterpriseInformationMapper.update(updateWrapper); |
|
|
return "操作成功"; |
|
|
return "操作成功"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|