|
@@ -80,6 +80,8 @@ public class ProductMaterialServiceImpl extends ServiceImpl<ProductMaterialMappe
|
|
|
String[] sp = endMonth.split("-");
|
|
|
String lastDayStr = "-" + DateUtils.getDaysOfMonth(Integer.valueOf(sp[0]), Integer.valueOf(sp[1]));
|
|
|
productMaterial.setEndDate(endMonth.concat(lastDayStr));
|
|
|
+ }else{
|
|
|
+ productMaterial.setEndMonth(DateUtils.date2Str());
|
|
|
}
|
|
|
}
|
|
|
Long total = baseMapper.videoListTotal(productMaterial);
|