|
@@ -83,7 +83,6 @@ import com.fjhx.tenant.utils.DictUtils;
|
|
import com.fjhx.wms.entity.stock.emums.JournalType;
|
|
import com.fjhx.wms.entity.stock.emums.JournalType;
|
|
import com.fjhx.wms.entity.stock.po.StockWait;
|
|
import com.fjhx.wms.entity.stock.po.StockWait;
|
|
import com.fjhx.wms.entity.stock.po.StockWaitDetails;
|
|
import com.fjhx.wms.entity.stock.po.StockWaitDetails;
|
|
-import com.fjhx.wms.mapper.stock.StockWaitDetailsMapper;
|
|
|
|
import com.fjhx.wms.service.stock.StockWaitDetailsService;
|
|
import com.fjhx.wms.service.stock.StockWaitDetailsService;
|
|
import com.fjhx.wms.service.stock.StockWaitService;
|
|
import com.fjhx.wms.service.stock.StockWaitService;
|
|
import com.ruoyi.common.annotation.TenantIgnore;
|
|
import com.ruoyi.common.annotation.TenantIgnore;
|
|
@@ -214,8 +213,6 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
@Autowired
|
|
@Autowired
|
|
private ISysUserService sysUserService;
|
|
private ISysUserService sysUserService;
|
|
@Autowired
|
|
@Autowired
|
|
- private StockWaitDetailsMapper stockWaitDetailsMapper;
|
|
|
|
- @Autowired
|
|
|
|
private ProductClassifyService productClassifyService;
|
|
private ProductClassifyService productClassifyService;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -310,17 +307,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
public Page<ContractVo> getPage(ContractSelectDto dto) {
|
|
public Page<ContractVo> getPage(ContractSelectDto dto) {
|
|
IWrapper<Contract> wrapper = getWrapper();
|
|
IWrapper<Contract> wrapper = getWrapper();
|
|
setContractParam(dto, wrapper);
|
|
setContractParam(dto, wrapper);
|
|
-// SysUser sysUser = UserUtil.getUserInfo();
|
|
|
|
-// if (StringUtils.isEmpty(sysUser.getUserCode())) {//不是业务员看所有
|
|
|
|
return pageCommon(dto, wrapper);
|
|
return pageCommon(dto, wrapper);
|
|
-// } else {//是业务员
|
|
|
|
-// List<Long> authIdList = customerService.getAuthIdList();
|
|
|
|
-// if (authIdList.size() == 0) {
|
|
|
|
-// return new Page<>();
|
|
|
|
-// }
|
|
|
|
-// wrapper.in("t1", Contract::getBuyCorporationId, authIdList);
|
|
|
|
-// return pageCommon(dto, wrapper);
|
|
|
|
-// }
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|