|
|
|
@ -222,11 +222,11 @@ public class BasicBussinessTypeServiceImpl implements IBasicBussinessTypeService
|
|
|
|
|
if (StrUtil.isNotEmpty(deliveryInstock) && deliveryInstock.equals("1")) {
|
|
|
|
|
bussinessTypeEntities = basicBussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>()
|
|
|
|
|
.eq("mainAction", ConstantType.TYPE_PUT).eq("corpType", ConstantStatus.CORP_TYPE_OUT)
|
|
|
|
|
.gt("spUse", 0).eq("enable", true));
|
|
|
|
|
.gt("spUse", 1).eq("enable", true));
|
|
|
|
|
} else {
|
|
|
|
|
bussinessTypeEntities = basicBussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>()
|
|
|
|
|
.eq("mainAction", ConstantType.TYPE_PUT).eq("corpType", ConstantStatus.CORP_TYPE_OUT)
|
|
|
|
|
.gt("spUse", 0).eq("inStock", false).eq("enable", true));
|
|
|
|
|
.gt("spUse", 1).eq("inStock", false).eq("enable", true));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|