fix: 修复环比数据异常的问题
This commit is contained in:
@@ -80,7 +80,7 @@ public class PublicController {
|
||||
queryYoy.isNotNull(PricePublish::getMaterialId); // 材料编号禁止为空
|
||||
var yoyData = pricePublishService.list(queryYoy);
|
||||
|
||||
var momDate = LocalDate.of(year, month, 1).plusMonths(1);
|
||||
var momDate = LocalDate.of(year, month, 1).minusMonths(1);
|
||||
var queryMom = pricePublishService.getQuery(momDate.getYear(), momDate.getMonthValue(), null, name, spec, PricePublishType.CURRENT);
|
||||
queryMom.isNotNull(PricePublish::getMaterialId);
|
||||
var momData = pricePublishService.list(queryMom);
|
||||
|
Reference in New Issue
Block a user