Browse Source

【功能完善】【镭雕机接口逻辑调整】

koul 1 year ago
parent
commit
93bf2851b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/serviceImpl/MESDataServiceImpl.java

+ 1 - 1
src/main/java/com/uas/eis/serviceImpl/MESDataServiceImpl.java

@@ -271,7 +271,7 @@ public class MESDataServiceImpl implements MESDataService {
 			if (rs.next()) {
 			if (rs.next()) {
 				int qrId = rs.getGeneralInt("qr_id");
 				int qrId = rs.getGeneralInt("qr_id");
 				List<Map<String, Object>> maps = baseDao.queryForList("select to_char(qr_date,'yyyy-MM-dd') qr_date, qr_prodcode, qr_vecode, qr_version, qr_machinecode, qr_qty, qr_serianum, qr_code from ProdQRCode where qr_id=" + qrId);
 				List<Map<String, Object>> maps = baseDao.queryForList("select to_char(qr_date,'yyyy-MM-dd') qr_date, qr_prodcode, qr_vecode, qr_version, qr_machinecode, qr_qty, qr_serianum, qr_code from ProdQRCode where qr_id=" + qrId);
-				baseDao.execute("update ProdQRCode set qr_isobtained=-1 where where qr_id=" + qrId);
+				baseDao.execute("update ProdQRCode set qr_isobtained=-1 where qr_id=" + qrId);
 				return ApiResponse.successRsp("0", "Success", "", maps.get(0));
 				return ApiResponse.successRsp("0", "Success", "", maps.get(0));
 			}else
 			}else
 				return ApiResponse.failRsp("10015","获取失败,请检查参数!");
 				return ApiResponse.failRsp("10015","获取失败,请检查参数!");