|
@@ -40,6 +40,7 @@ import java.util.List;
|
|
*/
|
|
*/
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
@Service("remoteOpcService")
|
|
@Service("remoteOpcService")
|
|
|
|
+
|
|
public class RemoteOpcServiceImpl extends BaseServiceImpl<RemoteOpcMapper, RemoteOpc, RemoteOpcDTO>
|
|
public class RemoteOpcServiceImpl extends BaseServiceImpl<RemoteOpcMapper, RemoteOpc, RemoteOpcDTO>
|
|
implements RemoteOpcService {
|
|
implements RemoteOpcService {
|
|
|
|
|
|
@@ -140,7 +141,7 @@ public class RemoteOpcServiceImpl extends BaseServiceImpl<RemoteOpcMapper, Remot
|
|
weekendCriteria.andEqualTo(RemoteOpc::getPositionNum, positionNum);
|
|
weekendCriteria.andEqualTo(RemoteOpc::getPositionNum, positionNum);
|
|
|
|
|
|
RemoteOpc remoteMeasure = new RemoteOpc();
|
|
RemoteOpc remoteMeasure = new RemoteOpc();
|
|
- remoteMeasure.setResult(result);
|
|
|
|
|
|
+ remoteMeasure.setResult(new BigDecimal(result));
|
|
mapper.updateByExampleSelective(remoteMeasure, weekend);
|
|
mapper.updateByExampleSelective(remoteMeasure, weekend);
|
|
}
|
|
}
|
|
|
|
|