更新供应商和客户的累计应收应付的算法
This commit is contained in:
@@ -3,6 +3,7 @@ package com.jsh.service.materials;
|
||||
import com.jsh.base.BaseIService;
|
||||
import com.jsh.util.JshException;
|
||||
import com.jsh.model.po.AccountHead;
|
||||
import com.jsh.model.po.DepotHead;
|
||||
import com.jsh.model.po.UserBusiness;
|
||||
import com.jsh.util.PageUtil;
|
||||
|
||||
@@ -12,4 +13,6 @@ public interface AccountHeadIService extends BaseIService<AccountHead>
|
||||
* 获取MaxId
|
||||
*/
|
||||
void find(PageUtil<AccountHead> accountHead,String maxid)throws JshException;
|
||||
|
||||
void findAllMoney(PageUtil<AccountHead> accountHead, Integer supplierId, String type, String mode)throws JshException;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.jsh.base.BaseService;
|
||||
import com.jsh.dao.materials.AccountHeadIDAO;
|
||||
import com.jsh.util.JshException;
|
||||
import com.jsh.model.po.AccountHead;
|
||||
import com.jsh.model.po.DepotHead;
|
||||
import com.jsh.model.po.UserBusiness;
|
||||
import com.jsh.util.PageUtil;
|
||||
|
||||
@@ -24,9 +25,13 @@ public class AccountHeadService extends BaseService<AccountHead> implements Acco
|
||||
return AccountHead.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void find(PageUtil<AccountHead> pageUtil, String maxid) throws JshException
|
||||
{
|
||||
accountHeadDao.find(pageUtil, maxid);
|
||||
}
|
||||
|
||||
public void findAllMoney(PageUtil<AccountHead> pageUtil, Integer supplierId, String type, String mode) throws JshException
|
||||
{
|
||||
accountHeadDao.findAllMoney(pageUtil, supplierId, type, mode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,6 @@ public interface DepotHeadIService extends BaseIService<DepotHead>
|
||||
* 获取MaxId
|
||||
*/
|
||||
void find(PageUtil<DepotHead> depotHead,String maxid)throws JshException;
|
||||
|
||||
void findAllMoney(PageUtil<DepotHead> depotHead, Integer supplierId, String type, String subType, String mode)throws JshException;
|
||||
}
|
||||
|
||||
@@ -24,9 +24,13 @@ public class DepotHeadService extends BaseService<DepotHead> implements DepotHea
|
||||
return DepotHead.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void find(PageUtil<DepotHead> pageUtil, String maxid) throws JshException
|
||||
{
|
||||
depotHeadDao.find(pageUtil, maxid);
|
||||
}
|
||||
|
||||
public void findAllMoney(PageUtil<DepotHead> pageUtil, Integer supplierId, String type, String subType, String mode) throws JshException
|
||||
{
|
||||
depotHeadDao.findAllMoney(pageUtil, supplierId, type, subType, mode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user