#20230510 欣影管理平台装置信息查询代码

jni
18616268358 2 years ago
parent f8233c1215
commit 0bbb59f7cd

@ -57,7 +57,7 @@ public class TerminalGPSController extends BaseController {
@ApiOperation(value = "轮询获取GPS位置", notes = "获取GPS位置接口", httpMethod = "POST") @ApiOperation(value = "轮询获取GPS位置", notes = "获取GPS位置接口", httpMethod = "POST")
@ApiResponses({@ApiResponse(code = 200, message = "请求成功"), @ApiResponse(code = 400, message = "请求参数没填好"), @ApiResponse(code = 404, message = "请求路径没有或页面跳转路径不对")}) @ApiResponses({@ApiResponse(code = 200, message = "请求成功"), @ApiResponse(code = 400, message = "请求参数没填好"), @ApiResponse(code = 404, message = "请求路径没有或页面跳转路径不对")})
@RequestMapping("/getTermGPS") @RequestMapping("/getTermGPSPosition")
@Log(title = "轮询获取GPS位置", type = "查询") @Log(title = "轮询获取GPS位置", type = "查询")
public ResponseReult<TerminalGpsModel> getReturnedTermGPS(@RequestBody @Validated TerminalGpsVo vo) { public ResponseReult<TerminalGpsModel> getReturnedTermGPS(@RequestBody @Validated TerminalGpsVo vo) {
ServiceBody<TerminalGpsModel> serviceBody = terminalGpsService.getReturnedGPS(vo); ServiceBody<TerminalGpsModel> serviceBody = terminalGpsService.getReturnedGPS(vo);

@ -19,7 +19,7 @@
where term_id = #{termId,jdbcType=INTEGER} where term_id = #{termId,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKey" resultType="java.math.BigInteger"> <select id="getUpdateTime" resultType="java.math.BigInteger">
select select
update_time updateTime update_time updateTime
from terminal_positions from terminal_positions

Loading…
Cancel
Save