|
@@ -5,6 +5,7 @@ import com.github.pagehelper.PageInfo;
|
|
|
import com.sckw.core.model.page.PageRes;
|
|
import com.sckw.core.model.page.PageRes;
|
|
|
import com.sckw.payment.dao.KwpSettlementLogisticsMapper;
|
|
import com.sckw.payment.dao.KwpSettlementLogisticsMapper;
|
|
|
import com.sckw.payment.model.dto.LedgerLogisticsDto;
|
|
import com.sckw.payment.model.dto.LedgerLogisticsDto;
|
|
|
|
|
+import com.sckw.payment.model.dto.SettlementLogisticsDto;
|
|
|
import com.sckw.payment.model.vo.req.SettlementReq;
|
|
import com.sckw.payment.model.vo.req.SettlementReq;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -22,7 +23,7 @@ import java.util.List;
|
|
|
public class KwpSettlementLogisticsService {
|
|
public class KwpSettlementLogisticsService {
|
|
|
private final KwpSettlementLogisticsMapper settlementLogisticsMapper;
|
|
private final KwpSettlementLogisticsMapper settlementLogisticsMapper;
|
|
|
|
|
|
|
|
- public PageRes<LedgerLogisticsDto> pageList(SettlementReq settlementReq) {
|
|
|
|
|
|
|
+ public PageRes<SettlementLogisticsDto> pageList(SettlementReq settlementReq) {
|
|
|
//todo 查询缓存,获取客户企业id
|
|
//todo 查询缓存,获取客户企业id
|
|
|
String keywords = settlementReq.getKeywords();
|
|
String keywords = settlementReq.getKeywords();
|
|
|
if (StringUtils.isNotBlank(keywords)) {
|
|
if (StringUtils.isNotBlank(keywords)) {
|
|
@@ -30,9 +31,21 @@ public class KwpSettlementLogisticsService {
|
|
|
}
|
|
}
|
|
|
PageHelper.startPage(settlementReq.getPage(), settlementReq.getPageSize());
|
|
PageHelper.startPage(settlementReq.getPage(), settlementReq.getPageSize());
|
|
|
|
|
|
|
|
- List<LedgerLogisticsDto> kwpLedgerLogisticsList = settlementLogisticsMapper.pageSelect(settlementReq);
|
|
|
|
|
|
|
+ List<SettlementLogisticsDto> kwpLedgerLogisticsList = settlementLogisticsMapper.pageSelect(settlementReq);
|
|
|
|
|
|
|
|
return new PageRes<>(new PageInfo<>(kwpLedgerLogisticsList));
|
|
return new PageRes<>(new PageInfo<>(kwpLedgerLogisticsList));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 结算-物流订单详情
|
|
|
|
|
+ * @author Administrator
|
|
|
|
|
+ * @date 2023-07-19 09:11
|
|
|
|
|
+ * @param id 结算物流订单id
|
|
|
|
|
+ */
|
|
|
|
|
+ public SettlementLogisticsDto detail(String id){
|
|
|
|
|
+ SettlementLogisticsDto settlementLogistics = settlementLogisticsMapper.detail(id);
|
|
|
|
|
+ return settlementLogistics;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|