|
|
|
@ -204,18 +204,18 @@ public class BasicBussinessTypeServiceImpl implements IBasicBussinessTypeService
|
|
|
|
|
|
|
|
|
|
case Constant.ORDER_ACTION_PRE_DETAIL:
|
|
|
|
|
bussinessTypeEntities = basicBussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>()
|
|
|
|
|
.eq("actionType", 3).eq("inStock", true));
|
|
|
|
|
.eq("actionType", 3).eq("inStock", true).eq("enable",true));
|
|
|
|
|
break;
|
|
|
|
|
case Constant.ORDER_ACTION_SUP_DELIVERY:
|
|
|
|
|
bussinessTypeEntities = basicBussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>()
|
|
|
|
|
.eq("mainAction", ConstantType.TYPE_PUT).eq("corpType", ConstantStatus.CORP_TYPE_OUT)
|
|
|
|
|
.eq("spUse", true).eq("inStock", false));
|
|
|
|
|
.eq("spUse", true).eq("inStock", false).eq("enable",true));
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
case Constant.ORDER_ACTION_SUP_INVOICE:
|
|
|
|
|
bussinessTypeEntities = basicBussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>()
|
|
|
|
|
.eq("mainAction", ConstantType.TYPE_PUT).eq("corpType", ConstantStatus.CORP_TYPE_OUT)
|
|
|
|
|
.eq("spUse", true).eq("actionType", 1));
|
|
|
|
|
.eq("spUse", true).eq("actionType", 1).eq("enable",true));
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|