|
|
|
@ -209,10 +209,14 @@ public class BasicBussinessTypeServiceImpl implements IBasicBussinessTypeService
|
|
|
|
|
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("spUse", true).eq("inStock", false));
|
|
|
|
|
|
|
|
|
|
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));
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|