|
@@ -87,7 +87,7 @@ public class TotalDataServiceImpl extends ServiceImpl<ITotalDataMapper, TotalDat
|
|
|
|
|
|
private TotalData getByDay(String time, Integer productSourceId) {
|
|
private TotalData getByDay(String time, Integer productSourceId) {
|
|
LambdaQueryWrapper<TotalData> wrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<TotalData> wrapper = new LambdaQueryWrapper<>();
|
|
- wrapper.eq(TotalData::getId,time);
|
|
|
|
|
|
+ wrapper.eq(TotalData::getDayTime,time);
|
|
wrapper.eq(TotalData::getProductSourceId,productSourceId);
|
|
wrapper.eq(TotalData::getProductSourceId,productSourceId);
|
|
List<TotalData> list = this.list(wrapper);
|
|
List<TotalData> list = this.list(wrapper);
|
|
if(list !=null && list.size() >0 ){
|
|
if(list !=null && list.size() >0 ){
|