This commit is contained in:
xy
2024-10-08 16:32:05 +08:00
parent 4bc00dad30
commit 6c1bf03c9c
2 changed files with 9 additions and 3 deletions

View File

@@ -413,6 +413,8 @@ public class CsDeviceServiceImpl implements ICsDeviceService {
po.setStatus(1);
po.setClDid(item.getClDev());
po.setDeviceId(vo.getId());
po.setDataSetId(item.getId());
po.setDataModelId(item.getPid());
//防止主键重复
QueryWrapper<CsLinePO> qw = new QueryWrapper<>();
qw.eq("line_id",po.getLineId());