@@ -371,6 +371,9 @@ public class ReportServiceImpl implements ReportService {
if (Objects.isNull(o)) {
continue;
}
+ if (StringUtils.isEmpty(o)) {
+ o=BigDecimal.ZERO;
+ }
BigDecimal amount = new BigDecimal(o.toString());
String str = expressionMap.get(i);
if (str.equals("+")) {
@@ -58,8 +58,5 @@
and (a.code like concat('%',#{filter,jdbcType=VARCHAR},'%') or a.name like concat('%',#{filter,jdbcType=VARCHAR},'%'))
</if>
GROUP BY visit_no,code,item_type_code
-
</select>
</mapper>