| | |
| | | import com.iailab.module.ansteel.coking.entity.CokingTraceConfEntity; |
| | | import com.iailab.module.ansteel.coking.service.CokingTraceChartService; |
| | | import com.iailab.module.ansteel.coking.service.CokingTraceConfService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | * @author lirm ${email} |
| | | * @since 1.0.0 2025-04-16 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class CokingTraceChartServiceImpl implements CokingTraceChartService { |
| | | |
| | |
| | | |
| | | @Override |
| | | public void save(String relId, String clock, String indType, Date startDate, Date endDate) { |
| | | // 查询需要保存chart的配置 |
| | | log.info("查询需要保存chart的配置"); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("indType", indType); |
| | | map.put("ext1", "chart"); |
| | |
| | | if (CollectionUtils.isEmpty(list)) { |
| | | return; |
| | | } |
| | | log.info("list.size={}", list.size()); |
| | | |
| | | List<CokingTraceChartEntity> entityList = new ArrayList<>(); |
| | | list.forEach(value -> { |