代码备份

dev_unify
yewj 8 months ago
parent 8af8506be2
commit efce84554c

@ -347,6 +347,7 @@ public class UdiProductEntity {
*/
@TableField(value = "detailSort")
private Integer detailSort;
public Integer getMyBhxjsl() {
if (bhxjsl == null || bhxjsl == 0)
return 1;

@ -363,7 +363,7 @@ public class RelCodeBatchService extends ServiceImpl<RelCodeBatchMapper, RelCode
public void threadUpdateIoCodeTempEntity(String parentCode) {
List<IoCodeTempEntity> ioCodeTempEntities = ioCodeTempDao.selectList(new LambdaQueryWrapper<IoCodeTempEntity>().eq(IoCodeTempEntity::getCode, parentCode));
if (CollUtil.isNotEmpty(ioCodeTempEntities)) {
IoCodeTempEntity codeTempEntity = ioCodeTempEntities.get(0);
//1、排除掉层级是1的
UdiEntity udi = FilterUdiUtils.getUdi(parentCode);
if (udi == null)
@ -374,6 +374,10 @@ public class RelCodeBatchService extends ServiceImpl<RelCodeBatchMapper, RelCode
return;
List<RelCodeBatch> navList = this.list(new LambdaQueryWrapper<RelCodeBatch>()
.eq(RelCodeBatch::getParentCode, parentCode));
// codeTempEntity.getSupId()
//todo if(navList)是空的 1.查供应商key2根据parentCode查阿里接口3根据返回结果再次查询
if ((udiProductEntity != null && "1".equals(udiProductEntity.getPackLevel()))
|| (CollUtil.isNotEmpty(navList))
) {

Loading…
Cancel
Save