| | |
| | | import com.ld.igds.camera.data.ApiCameraResp; |
| | | import com.ld.igds.camera.data.ApiSnapReq; |
| | | import com.ld.igds.constant.BizType; |
| | | import com.ld.igds.constant.DeviceType; |
| | | import com.ld.igds.data.SnapImgDto; |
| | | import com.ld.igds.file.CoreFileService; |
| | | import com.ld.igds.inout.ApiInoutManager; |
| | |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | return null; |
| | | } |
| | | return inoutCommonService.getCacheInoutConf(ContextUtil.getCompanyId(), ContextUtil.subDeptId(null), id); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * @Desc: 获取称重网关设备 |
| | | * @author: Andy |
| | | * @update-time: 2022/11/26 |
| | | */ |
| | | public List<InoutConf> getWeightGateway(String companyId, String deptId) { |
| | | List<InoutConf> list = inoutCommonService.getCacheInoutConf(companyId, deptId); |
| | | if (null == list || list.isEmpty()) return null; |
| | | |
| | | List<InoutConf> result = new ArrayList<>(); |
| | | |
| | | for (InoutConf conf : list) { |
| | | if (InoutConstant.CONF_TYPE_70.equals(conf.getType())) { |
| | | result.add(conf); |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |