|
|
|
@ -2,6 +2,7 @@ package com.glxp.api.admin.service.basic.impl;
|
|
|
|
|
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.glxp.api.admin.constant.ConstantStatus;
|
|
|
|
|
import com.glxp.api.admin.dao.basic.UdiInfoDao;
|
|
|
|
|
import com.glxp.api.admin.dao.basic.UdiRelevanceDao;
|
|
|
|
|
import com.glxp.api.admin.entity.basic.BasicThirdSysEntity;
|
|
|
|
|
import com.glxp.api.admin.entity.basic.UdiInfoEntity;
|
|
|
|
@ -9,7 +10,6 @@ import com.glxp.api.admin.entity.basic.UdiRelevanceEntity;
|
|
|
|
|
import com.glxp.api.admin.req.basic.FilterUdiInfoRequest;
|
|
|
|
|
import com.glxp.api.admin.res.basic.UdiRelevanceResponse;
|
|
|
|
|
import com.glxp.api.admin.service.basic.BasicThirdSysService;
|
|
|
|
|
import com.glxp.api.admin.service.basic.UdiInfoService;
|
|
|
|
|
import com.glxp.api.admin.service.basic.UdiRelevanceService;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ public class UdiRelevanceServiceImpl implements UdiRelevanceService {
|
|
|
|
|
@Resource
|
|
|
|
|
BasicThirdSysService basicThirdSysService;
|
|
|
|
|
@Resource
|
|
|
|
|
UdiInfoService udiInfoService;
|
|
|
|
|
private UdiInfoDao udiInfoDao;
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<UdiRelevanceResponse> filterUdiRelevance(FilterUdiInfoRequest filterUdiInfoRequest) {
|
|
|
|
@ -272,6 +272,13 @@ public class UdiRelevanceServiceImpl implements UdiRelevanceService {
|
|
|
|
|
udiRelevanceEntity.setMainId(udiRelevanceEntity.getThirdId4());
|
|
|
|
|
udiRelevanceEntity.setMainName(udiRelevanceEntity.getThirdName4());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UdiInfoEntity udiInfoEntity = new UdiInfoEntity();
|
|
|
|
|
udiInfoEntity.setAllowNoBatch(udiRelevanceEntity.isAllowNoBatch());
|
|
|
|
|
udiInfoEntity.setAllowNoExpire(udiRelevanceEntity.isAllowNoExpire());
|
|
|
|
|
udiInfoEntity.setAllowNoProduct(udiRelevanceEntity.isAllowNoProduct());
|
|
|
|
|
udiInfoEntity.setUuid(udiRelevanceEntity.getUuid());
|
|
|
|
|
udiInfoDao.updateUdiInfoByUuid(udiInfoEntity);
|
|
|
|
|
return udiRelevanceDao.updateUdiRelevance(udiRelevanceEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|