Commit dbd51635 authored by fangxinjiang's avatar fangxinjiang

MVP8号版本

parent f3455e63
...@@ -204,7 +204,7 @@ public interface CommonConstants { ...@@ -204,7 +204,7 @@ public interface CommonConstants {
* @Author pwang * @Author pwang
* @Date 2019-08-02 16:39 * @Date 2019-08-02 16:39
**/ **/
int[] dingleDigitIntArray = {0,1,2,3,4,5,6,7,8,9}; int[] dingleDigitIntArray = {0,1,2,3,4,5,6,7,8,9,10,11,12};
/** /**
* 个位数字串(阿里编码规约不允许直接使用‘魔法值’) * 个位数字串(阿里编码规约不允许直接使用‘魔法值’)
* @Author pwang * @Author pwang
......
...@@ -337,8 +337,5 @@ public class TInsuranceDetail extends BaseEntity { ...@@ -337,8 +337,5 @@ public class TInsuranceDetail extends BaseEntity {
@Schema(description = "退回原因") @Schema(description = "退回原因")
private String backRemark; private String backRemark;
@Schema(description = "用于重新推送的状态")
private String errorStatus;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
} }
\ No newline at end of file
...@@ -33,17 +33,4 @@ public class UpdateOverdueTask { ...@@ -33,17 +33,4 @@ public class UpdateOverdueTask {
HttpDaprUtil.invokeMethodPost(daprInsurancesProperties.getAppUrl(),daprInsurancesProperties.getAppId(),"/insuranceDetail/inner/updateOverdueByTask","", Void.class, SecurityConstants.FROM_IN); HttpDaprUtil.invokeMethodPost(daprInsurancesProperties.getAppUrl(),daprInsurancesProperties.getAppId(),"/insuranceDetail/inner/updateOverdueByTask","", Void.class, SecurityConstants.FROM_IN);
log.info("------------更新商险到期-定时任务结束------------"); log.info("------------更新商险到期-定时任务结束------------");
} }
/**
* 更新商险到期定时任务
*
* @author licancan
* @param
* @return void
*/
public void pushInsEkp() throws Exception {
log.info("-------------推送商险待结算数据-定时任务开始------------");
HttpDaprUtil.invokeMethodPost(daprInsurancesProperties.getAppUrl(),daprInsurancesProperties.getAppId(),"/insuranceDetail/inner/pushActualPremium","", Void.class, SecurityConstants.FROM_IN);
log.info("------------推送商险待结算数据-定时任务结束------------");
}
} }
...@@ -30,7 +30,6 @@ import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysDeptMapper; ...@@ -30,7 +30,6 @@ import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysDeptMapper;
import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysUserMapper; import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysUserMapper;
import com.yifu.cloud.plus.v1.yifu.admin.service.SysDeptRelationService; import com.yifu.cloud.plus.v1.yifu.admin.service.SysDeptRelationService;
import com.yifu.cloud.plus.v1.yifu.admin.service.SysDeptService; import com.yifu.cloud.plus.v1.yifu.admin.service.SysDeptService;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common; import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.ldap.util.LdapUtil; import com.yifu.cloud.plus.v1.yifu.common.ldap.util.LdapUtil;
...@@ -212,7 +211,6 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl ...@@ -212,7 +211,6 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
if (Common.isNotNull(entry.getAttributeValue("x-ouid"))) { if (Common.isNotNull(entry.getAttributeValue("x-ouid"))) {
insertSysDept.setDeptId(Long.valueOf(entry.getAttributeValue("x-ouid"))); insertSysDept.setDeptId(Long.valueOf(entry.getAttributeValue("x-ouid")));
} }
insertSysDept.setDelFlag(CommonConstants.ZERO_STRING);
baseMapper.insert(insertSysDept); baseMapper.insert(insertSysDept);
} }
} }
...@@ -222,7 +220,7 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl ...@@ -222,7 +220,7 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
} }
} else { } else {
try { try {
SysDept sysDept = baseMapper.selectDeptDn(dn.substring(dn.indexOf("ou=", 2), dn.length())); SysDept sysDept = this.getOne(Wrappers.<SysDept>query().lambda().eq(SysDept::getDeptDn, dn.substring(dn.indexOf("ou=", 2), dn.length())));
if (null != sysDept) { if (null != sysDept) {
SysDept sysDeptCount = baseMapper.selectDeptDn(dn); SysDept sysDeptCount = baseMapper.selectDeptDn(dn);
if (null == sysDeptCount) { if (null == sysDeptCount) {
...@@ -241,7 +239,6 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl ...@@ -241,7 +239,6 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
if (Common.isNotNull(entry.getAttributeValue("x-ouid"))) { if (Common.isNotNull(entry.getAttributeValue("x-ouid"))) {
insertSysDept.setDeptId(Long.valueOf(entry.getAttributeValue("x-ouid"))); insertSysDept.setDeptId(Long.valueOf(entry.getAttributeValue("x-ouid")));
} }
insertSysDept.setDelFlag(CommonConstants.ZERO_STRING);
baseMapper.insert(insertSysDept); baseMapper.insert(insertSysDept);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment