feat(wms): 新增其他收支管理功能
- 新增其他收支实体类WmsOtherIncome及其相关VO、BO类 - 实现其他收支的增删改查接口IWmsOtherIncomeService - 添加其他收支控制器WmsOtherIncomeController支持RESTful请求 - 配置MyBatis映射文件及Mapper接口支持数据库操作 - 在应付和应收业务中增加时间范围筛选字段和逻辑
This commit is contained in:
@@ -75,6 +75,10 @@ public class WmsReceivableServiceImpl implements IWmsReceivableService {
|
||||
lqw.eq(bo.getPaidAmount() != null, "r.paid_amount", bo.getPaidAmount());
|
||||
lqw.eq(bo.getBalanceAmount() != null, "r.balance_amount", bo.getBalanceAmount());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), "r.status", bo.getStatus());
|
||||
//根据创建时间查询范围Date startTime Date endTime
|
||||
if (bo.getStartTime() != null && bo.getEndTime() != null) {
|
||||
lqw.between("r.create_time", bo.getStartTime(), bo.getEndTime());
|
||||
}
|
||||
return lqw;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user