|
|
|
@ -28,7 +28,10 @@ import com.logpm.warehouse.mapper.WarehouseUpdownGoodsLogMapper;
|
|
|
|
|
import com.logpm.warehouse.service.IWarehouseUpdownGoodsLogService; |
|
|
|
|
import com.logpm.warehouse.vo.WarehouseUpdownGoodsLogVO; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.log4j.Log4j2; |
|
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.system.entity.User; |
|
|
|
|
import org.springblade.system.feign.IUserSearchClient; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
@ -43,6 +46,7 @@ import java.util.stream.Collectors;
|
|
|
|
|
*/ |
|
|
|
|
@Service |
|
|
|
|
@AllArgsConstructor |
|
|
|
|
@Log4j2 |
|
|
|
|
public class WarehouseUpdownGoodsLogServiceImpl extends BaseServiceImpl<WarehouseUpdownGoodsLogMapper, WarehouseUpdownGoodsLogEntity> implements IWarehouseUpdownGoodsLogService { |
|
|
|
|
|
|
|
|
|
private final IBasicdataWarehouseClient basicdataWarehouseClient; |
|
|
|
@ -58,7 +62,10 @@ public class WarehouseUpdownGoodsLogServiceImpl extends BaseServiceImpl<Warehous
|
|
|
|
|
.collect(Collectors.toList()); |
|
|
|
|
warehouseUpdownGoodsLog.setWarehouseIdList(collect); |
|
|
|
|
//查询操作员
|
|
|
|
|
// userSearchClient.listByname();
|
|
|
|
|
if (null != warehouseUpdownGoodsLog.getCreateUserName()){ |
|
|
|
|
R<List<User>> listR = userSearchClient.listByName(warehouseUpdownGoodsLog.getCreateUserName()); |
|
|
|
|
log.info("listR>>>>{}",listR); |
|
|
|
|
} |
|
|
|
|
List<WarehouseUpdownGoodsLogVO> warehouseUpdownGoodsLogVOS = baseMapper.selectWarehouseUpdownGoodsLogPage(page, warehouseUpdownGoodsLog); |
|
|
|
|
return page.setRecords(warehouseUpdownGoodsLogVOS); |
|
|
|
|
} |
|
|
|
|