Commit 5e00156f by hzc

修改短板运算交集bug

parent 2895233b
......@@ -20,6 +20,7 @@ import com.keymobile.indicators.model.mapper.indmapper.DriveIndCalResultDefMappe
import com.keymobile.indicators.model.mapper.indmapper.ShortboardDriveIndRelMapper;
import com.keymobile.indicators.model.mapper.indmapper.ShortboardRuleMapper;
import com.keymobile.indicators.utils.CalculateUtils;
import org.springframework.transaction.annotation.Transactional;
@Service
public class ShortboardRuleService {
......@@ -104,6 +105,7 @@ public class ShortboardRuleService {
StringBuilder shortboardName = new StringBuilder("");
StringBuilder shortboardDesc = new StringBuilder("");
StringBuilder shortboardType = new StringBuilder("");
status = 0;
for(Integer sbRuleId : shortBoardWarnData.getShortboardIds()) {
ShortboardRule shortboardRule = this.getById(sbRuleId);
if(shortboardRule!=null) {
......
......@@ -134,7 +134,6 @@ public class ShortboardUnitService {
shortComparedLog.setEndTime(new Date());
shortComparedLog.setStatus(1);
shortComparedLog.setValue(result.size());
}catch (Exception e){
String message = "";
if(e!=null){
......
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