Commit 121d2911 authored by 李秀明's avatar 李秀明

fix: BUG#23962 消防装备,装备定义的数量的查询接口查询出的数据,和设备卡片的数据不一致

parent f52e13df
......@@ -26,6 +26,7 @@ public class SourcesStatisticsImpl implements ISourceStatistics {
public int equipCategoryStatistics(String bizOrgCode, SourceTypeEnum sourceType, String categoryCode) {
// 计算处通用code,用来上下级匹配如12001010000->1200101
String treeCode = subStringZero(categoryCode);
treeCode = treeCode.length() % 2 == 0 ? treeCode : treeCode + "0";
Set<String> keys = redisUtil.getKeys(buildPattenKey(bizOrgCode, sourceType.getCode(), treeCode));
if (keys.size() > 0) {
//求和
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment