|
|
@@ -133,7 +133,9 @@ public class GoodsDescController extends BladeController {
|
|
|
.eq(ObjectUtils.isNotNull(goods.getWhetherIntegral()), PjGoodsDesc::getWhetherIntegral, goods.getWhetherIntegral())//是否是积分商品
|
|
|
.eq(ObjectUtils.isNotNull(goods.getEnableOrNot()), PjGoodsDesc::getEnableOrNot, goods.getEnableOrNot())//状态
|
|
|
.eq(ObjectUtils.isNotEmpty(goods.getWhether()), PjGoodsDesc::getWhether, goods.getWhether())//是否管理到批次号
|
|
|
- .eq(ObjectUtils.isNotEmpty(goods.getExplosionProof()), PjGoodsDesc::getExplosionProof, goods.getExplosionProof());//是否防爆
|
|
|
+ .eq(ObjectUtils.isNotEmpty(goods.getExplosionProof()), PjGoodsDesc::getExplosionProof, goods.getExplosionProof())//是否防爆
|
|
|
+ //是否共享商品
|
|
|
+ .eq(ObjectUtils.isNotEmpty(goods.getShared()), PjGoodsDesc::getShared, goods.getShared());
|
|
|
if (ObjectUtil.isNotEmpty(goods.getCname())) {
|
|
|
lambdaQueryWrapper.and(i -> i.like(PjGoodsDesc::getCname, goods.getCname()).or().like(PjGoodsDesc::getCnameInt, goods.getCname()));
|
|
|
}
|
|
|
@@ -343,6 +345,7 @@ public class GoodsDescController extends BladeController {
|
|
|
List<PjGoodsDesc> list = goodsDescService.list(lambdaQueryWrapper);
|
|
|
list.forEach(e -> {
|
|
|
String typeId = e.getGoodsTypeId();
|
|
|
+ e.setSharedStr(Objects.equals(e.getShared(), 1) ? "是" : "否");
|
|
|
if (ObjectUtils.isNotNull(typeId)) {
|
|
|
String[] split = typeId.split(",");
|
|
|
List<String> stringList = Arrays.asList(split);
|