|
|
@ -192,6 +192,7 @@ func (impl *WorkPlaceSnapshotServiceImplement) UpdateOne(user *global.User, enti |
|
|
|
shotLi, err := dao.Select([]grmi.Predicate{ |
|
|
|
meta.WorkPlaceSnapshot_WorkPlaceNr.NewPredicate(grmi.Equal, entity.WorkPlaceNr), |
|
|
|
meta.WorkPlaceSnapshot_ShootArea.NewPredicate(grmi.Equal, entity.ShootArea), |
|
|
|
meta.WorkPlaceSnapshot_SnapshotNr.NewPredicate(grmi.NotEqual, entity.SnapshotNr), |
|
|
|
}, nil) |
|
|
|
if err != nil { |
|
|
|
return grmi.NewBusinessError("查询视频拍照目视化工位配置失败, 错误:" + err.Error()) |
|
|
|