优化单据的额查询列表的逻辑,提高查询速度(继续优化)
This commit is contained in:
@@ -3,6 +3,7 @@ package com.jsh.erp.datasource.mappers;
|
||||
import com.jsh.erp.datasource.entities.AccountHead;
|
||||
import com.jsh.erp.datasource.entities.AccountHeadExample;
|
||||
import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx;
|
||||
import com.jsh.erp.datasource.entities.AccountItem;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -58,6 +59,9 @@ public interface AccountHeadMapperEx {
|
||||
|
||||
List<AccountHead> getAccountHeadListByHandsPersonIds(@Param("handsPersonIds") String[] handsPersonIds);
|
||||
|
||||
List<AccountItem> getFinancialBillNoByBillIdList(
|
||||
@Param("idList") List<Long> idList);
|
||||
|
||||
List<AccountHead> getFinancialBillNoByBillId(
|
||||
@Param("billId") Long billId);
|
||||
}
|
||||
@@ -57,11 +57,11 @@ public interface DepotHeadMapperEx {
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("remark") String remark);
|
||||
|
||||
String findMaterialsListByHeaderId(
|
||||
@Param("id") Long id);
|
||||
List<MaterialsListVo> findMaterialsListMapByHeaderIdList(
|
||||
@Param("idList") List<Long> idList);
|
||||
|
||||
BigDecimal getMaterialCountByHeaderId(
|
||||
@Param("id") Long id);
|
||||
List<MaterialCountVo> getMaterialCountListByHeaderIdList(
|
||||
@Param("idList") List<Long> idList);
|
||||
|
||||
List<DepotHeadVo4InDetail> findInOutDetail(
|
||||
@Param("beginTime") String beginTime,
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
package com.jsh.erp.datasource.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class FinishDepositVo {
|
||||
|
||||
private String number;
|
||||
|
||||
private BigDecimal finishDeposit;
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public BigDecimal getFinishDeposit() {
|
||||
return finishDeposit;
|
||||
}
|
||||
|
||||
public void setFinishDeposit(BigDecimal finishDeposit) {
|
||||
this.finishDeposit = finishDeposit;
|
||||
}
|
||||
}
|
||||
package com.jsh.erp.datasource.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class FinishDepositVo {
|
||||
|
||||
private String number;
|
||||
|
||||
private BigDecimal finishDeposit;
|
||||
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public BigDecimal getFinishDeposit() {
|
||||
return finishDeposit;
|
||||
}
|
||||
|
||||
public void setFinishDeposit(BigDecimal finishDeposit) {
|
||||
this.finishDeposit = finishDeposit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.jsh.erp.datasource.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class MaterialCountVo {
|
||||
|
||||
private Long headerId;
|
||||
|
||||
private BigDecimal materialCount;
|
||||
|
||||
public Long getHeaderId() {
|
||||
return headerId;
|
||||
}
|
||||
|
||||
public void setHeaderId(Long headerId) {
|
||||
this.headerId = headerId;
|
||||
}
|
||||
|
||||
public BigDecimal getMaterialCount() {
|
||||
return materialCount;
|
||||
}
|
||||
|
||||
public void setMaterialCount(BigDecimal materialCount) {
|
||||
this.materialCount = materialCount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.jsh.erp.datasource.vo;
|
||||
|
||||
public class MaterialsListVo {
|
||||
|
||||
private Long headerId;
|
||||
|
||||
private String materialsList;
|
||||
|
||||
public Long getHeaderId() {
|
||||
return headerId;
|
||||
}
|
||||
|
||||
public void setHeaderId(Long headerId) {
|
||||
this.headerId = headerId;
|
||||
}
|
||||
|
||||
public String getMaterialsList() {
|
||||
return materialsList;
|
||||
}
|
||||
|
||||
public void setMaterialsList(String materialsList) {
|
||||
this.materialsList = materialsList;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user