fix:播报字段大小写

This commit is contained in:
zhangzhiqiang
2022-11-24 09:02:52 +08:00
parent 9f605d1da1
commit 30eb5ad0f2
2 changed files with 4 additions and 4 deletions

View File

@@ -541,7 +541,7 @@ public class DeviceBigScreenServiceImpl implements DeviceBigScreenService {
for(int i=0;i<resultJSONArray.size();i++){ for(int i=0;i<resultJSONArray.size();i++){
JSONObject jo = resultJSONArray.getJSONObject(i); JSONObject jo = resultJSONArray.getJSONObject(i);
String repair_code = jo.getString("repair_code"); String repair_code = jo.getString("repair_code");
jo.put("needCast","0"); jo.put("needcast","0");
if(repair_code.contains("BXD")){ if(repair_code.contains("BXD")){
String id = jo.getString("id"); String id = jo.getString("id");
JSONObject jonow = EM_BI_DeviceRepairRequest.query("request_id='"+id+"'").uniqueResult(0); JSONObject jonow = EM_BI_DeviceRepairRequest.query("request_id='"+id+"'").uniqueResult(0);

View File

@@ -261,7 +261,7 @@
QUERY QUERY
SELECT SELECT
mst.repair_id as id, mst.repair_id as id,
false as needCast, false as needcast,
mst.input_time AS input_time, mst.input_time AS input_time,
mst.repair_code AS repair_code, mst.repair_code AS repair_code,
( (
@@ -315,7 +315,7 @@
SELECT SELECT
st.request_id AS id, st.request_id AS id,
false AS needCast, false AS needcast,
st.create_time AS input_time, st.create_time AS input_time,
st.request_code AS repair_code, st.request_code AS repair_code,
class.class_name AS maintenancecycle, class.class_name AS maintenancecycle,
@@ -378,7 +378,7 @@
SELECT SELECT
mst.maint_id as id, mst.maint_id as id,
false as needCast, false as needcast,
mst.input_time AS input_time, mst.input_time AS input_time,
mst.maint_code AS repair_code, mst.maint_code AS repair_code,
( (