@ -18,7 +18,9 @@ import org.nl.acs.device.service.dto.DeviceDto;
import org.nl.acs.device.service.impl.DeviceServiceImpl ;
import org.nl.acs.device.service.impl.DeviceServiceImpl ;
import org.nl.acs.device_driver.ssj_cache_site.SsjCacheSiteDeviceDriver ;
import org.nl.acs.device_driver.ssj_cache_site.SsjCacheSiteDeviceDriver ;
import org.nl.acs.device_driver.standard_inspect_site.StandardInspectSiteDeviceDriver ;
import org.nl.acs.device_driver.standard_inspect_site.StandardInspectSiteDeviceDriver ;
import org.nl.acs.device_driver.standard_inspect_site_smart200.StandardInspectSiteSmartDeviceDriver ;
import org.nl.acs.device_driver.standard_manipulator_inspect_site.StandardManipulatorInspectSiteDeviceDriver ;
import org.nl.acs.device_driver.standard_manipulator_inspect_site.StandardManipulatorInspectSiteDeviceDriver ;
import org.nl.acs.device_driver.standard_ordinary_site.StandardOrdinarySiteDeviceDriver ;
import org.nl.acs.instruction.service.InstructionService ;
import org.nl.acs.instruction.service.InstructionService ;
import org.nl.acs.instruction.service.dto.Instruction ;
import org.nl.acs.instruction.service.dto.Instruction ;
import org.nl.acs.instruction.service.dto.InstructionDto ;
import org.nl.acs.instruction.service.dto.InstructionDto ;
@ -79,11 +81,12 @@ public class SSJHandServiceImpl implements SSJHandService {
}
}
@Override
@Override
public Map < String , Object > queryPointByArea ( String dict_id ) {
public Map < String , Object > queryPointByArea ( Map < String , String > whereJson ) {
JSONArray resultArr = new JSONArray ( ) ;
JSONArray resultArr = new JSONArray ( ) ;
JSONObject resultJson = new JSONObject ( ) ;
JSONObject resultJson = new JSONObject ( ) ;
JSONObject jo = new JSONObject ( ) ;
JSONObject jo = new JSONObject ( ) ;
String dict_id = whereJson . get ( "region" ) ;
if ( StrUtil . isEmpty ( dict_id ) ) {
if ( StrUtil . isEmpty ( dict_id ) ) {
throw new BadRequestException ( "区域id不能为空!" ) ;
throw new BadRequestException ( "区域id不能为空!" ) ;
}
}
@ -95,6 +98,18 @@ public class SSJHandServiceImpl implements SSJHandService {
String material = "" ;
String material = "" ;
String batch = "" ;
String batch = "" ;
// 判断有没有物料类型和批次条件
String material_type = whereJson . get ( "material_type" ) ;
String where_batch = whereJson . get ( "batch" ) ;
boolean have_material_type = false ;
if ( StrUtil . isNotEmpty ( material_type ) ) {
have_material_type = true ;
}
boolean have_where_batch = false ;
if ( StrUtil . isNotEmpty ( where_batch ) ) {
have_where_batch = true ;
}
//再字典中查询出value
//再字典中查询出value
//JSONObject valuejo = WQLObject.getWQLObject("sys_dict_detail").query("detail_id='" + dict_id + "'").uniqueResult(0);
//JSONObject valuejo = WQLObject.getWQLObject("sys_dict_detail").query("detail_id='" + dict_id + "'").uniqueResult(0);
JSONObject valuejo = WQL . getWO ( "QSSJ_QUERY001" ) . addParam ( "flag" , "3" ) . addParam ( "detail_id" , dict_id ) . process ( ) . uniqueResult ( 0 ) ;
JSONObject valuejo = WQL . getWO ( "QSSJ_QUERY001" ) . addParam ( "flag" , "3" ) . addParam ( "detail_id" , dict_id ) . process ( ) . uniqueResult ( 0 ) ;
@ -114,9 +129,23 @@ public class SSJHandServiceImpl implements SSJHandService {
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver ;
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver ;
//区域管制设备交互站点
//区域管制设备交互站点
StandardManipulatorInspectSiteDeviceDriver standardManipulatorInspectSiteDeviceDriver ;
StandardManipulatorInspectSiteDeviceDriver standardManipulatorInspectSiteDeviceDriver ;
// 检测站点_smaet200
StandardInspectSiteSmartDeviceDriver standardInspectSiteSmartDeviceDriver ;
// 普通站点
StandardOrdinarySiteDeviceDriver standardOrdinarySiteDeviceDriver ;
if ( device . getDeviceDriver ( ) instanceof SsjCacheSiteDeviceDriver ) {
if ( device . getDeviceDriver ( ) instanceof SsjCacheSiteDeviceDriver ) {
ssjCacheSiteDeviceDriver = ( SsjCacheSiteDeviceDriver ) device . getDeviceDriver ( ) ;
ssjCacheSiteDeviceDriver = ( SsjCacheSiteDeviceDriver ) device . getDeviceDriver ( ) ;
// 如果有物料类型条件且物料类型对不上,进入下一轮循环
if ( have_material_type & & ! StrUtil . equals ( device . getMaterial_type ( ) , material_type ) ) {
continue ;
}
// 如果有批次条件且批次对不上,进入下一轮循环
if ( have_where_batch & & ! StrUtil . equals ( device . getBatch ( ) , where_batch ) ) {
continue ;
}
if ( StrUtil . equals ( device . getIslock ( ) , "true" ) ) {
if ( StrUtil . equals ( device . getIslock ( ) , "true" ) ) {
status = "3" ;
status = "3" ;
move = "有任务" ;
move = "有任务" ;
@ -161,6 +190,12 @@ public class SSJHandServiceImpl implements SSJHandService {
jo . put ( "device_name" , devicejo . optString ( "device_name" ) ) ;
jo . put ( "device_name" , devicejo . optString ( "device_name" ) ) ;
jo . put ( "allow_update" , "1" ) ;
jo . put ( "allow_update" , "1" ) ;
jo . put ( "input_material" , input_material ) ;
jo . put ( "input_material" , input_material ) ;
jo . put ( "model" , device . getModel ( ) ) ;
jo . put ( "process" , device . getProcess ( ) ) ;
jo . put ( "weight" , device . getWeight ( ) ) ;
jo . put ( "qc_status" , device . getQc_status ( ) ) ;
jo . put ( "date" , device . getDate ( ) ) ;
jo . put ( "operation_by" , device . getOperation_by ( ) ) ;
// 特殊驱动
// 特殊驱动
}
}
//检测站点
//检测站点
@ -222,6 +257,133 @@ public class SSJHandServiceImpl implements SSJHandService {
jo . put ( "batch" , standardManipulatorInspectSiteDeviceDriver . getBatch ( ) ) ;
jo . put ( "batch" , standardManipulatorInspectSiteDeviceDriver . getBatch ( ) ) ;
jo . put ( "input_material" , input_material ) ;
jo . put ( "input_material" , input_material ) ;
}
}
// 检测站点_smaet200
else if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteSmartDeviceDriver ) {
standardInspectSiteSmartDeviceDriver = ( StandardInspectSiteSmartDeviceDriver ) device . getDeviceDriver ( ) ;
// 如果有物料类型条件且物料类型对不上,进入下一轮循环
if ( have_material_type & & ! StrUtil . equals ( device . getMaterial_type ( ) , material_type ) ) {
continue ;
}
// 如果有批次条件且批次对不上,进入下一轮循环
if ( have_where_batch & & ! StrUtil . equals ( device . getBatch ( ) , where_batch ) ) {
continue ;
}
if ( StrUtil . equals ( device . getIslock ( ) , "true" ) ) {
status = "3" ;
move = "有任务" ;
} else {
if ( standardInspectSiteSmartDeviceDriver . getHasGoods ( ) = = 0 ) {
status = "0" ;
move = "无货" ;
} else if ( standardInspectSiteSmartDeviceDriver . getHasGoods ( ) = = 1 ) {
status = "1" ;
move = "有托盘" ;
} else if ( standardInspectSiteSmartDeviceDriver . getHasGoods ( ) = = 2 ) {
status = "2" ;
move = "有托盘有货" ;
}
}
material = device . getMaterial_type ( ) ;
if ( StrUtil . isNullOrUndefined ( material ) ) {
material = "" ;
}
batch = device . getBatch ( ) ;
if ( StrUtil . isNullOrUndefined ( batch ) ) {
batch = "" ;
}
String input_materialflag = ( String ) device . getExtraValue ( ) . get ( "input_material" ) ;
if ( ! StrUtil . isEmpty ( input_materialflag ) & & input_materialflag . equals ( "false" ) ) {
input_material = "0" ;
}
if ( ! StrUtil . isEmpty ( input_materialflag ) & & input_materialflag . equals ( "true" ) ) {
input_material = "1" ;
}
jo . put ( "material_type" , material ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "put_goods_time" , device . getPut_goods_time ( ) ) ;
jo . put ( "islock" , device . getIslock ( ) ) ;
jo . put ( "status_name" , move ) ;
jo . put ( "status" , status ) ;
jo . put ( "device_id" , devicejo . optString ( "device_id" ) ) ;
jo . put ( "device_code" , devicejo . optString ( "device_code" ) ) ;
jo . put ( "device_name" , devicejo . optString ( "device_name" ) ) ;
jo . put ( "allow_update" , "1" ) ;
jo . put ( "input_material" , input_material ) ;
jo . put ( "model" , device . getModel ( ) ) ;
jo . put ( "process" , device . getProcess ( ) ) ;
jo . put ( "weight" , device . getWeight ( ) ) ;
jo . put ( "qc_status" , device . getQc_status ( ) ) ;
jo . put ( "date" , device . getDate ( ) ) ;
jo . put ( "operation_by" , device . getOperation_by ( ) ) ;
}
// 普通站点
else if ( device . getDeviceDriver ( ) instanceof StandardOrdinarySiteDeviceDriver ) {
standardOrdinarySiteDeviceDriver = ( StandardOrdinarySiteDeviceDriver ) device . getDeviceDriver ( ) ;
// 如果有物料类型条件且物料类型对不上,进入下一轮循环
if ( have_material_type & & ! StrUtil . equals ( device . getMaterial_type ( ) , material_type ) ) {
continue ;
}
// 如果有批次条件且批次对不上,进入下一轮循环
if ( have_where_batch & & ! StrUtil . equals ( device . getBatch ( ) , where_batch ) ) {
continue ;
}
if ( StrUtil . equals ( device . getIslock ( ) , "true" ) ) {
status = "3" ;
move = "有任务" ;
} else {
if ( standardOrdinarySiteDeviceDriver . getHasGoods ( ) = = 0 ) {
status = "0" ;
move = "无货" ;
} else if ( standardOrdinarySiteDeviceDriver . getHasGoods ( ) = = 1 ) {
status = "1" ;
move = "有托盘" ;
} else if ( standardOrdinarySiteDeviceDriver . getHasGoods ( ) = = 2 ) {
status = "2" ;
move = "有托盘有货" ;
}
}
material = device . getMaterial_type ( ) ;
//material = standardOrdinarySiteDeviceDriver.getMaterial();
if ( StrUtil . isNullOrUndefined ( material ) ) {
material = "" ;
}
batch = device . getBatch ( ) ;
//batch = standardOrdinarySiteDeviceDriver.getBatch();
if ( StrUtil . isNullOrUndefined ( batch ) ) {
batch = "" ;
}
String input_materialflag = ( String ) device . getExtraValue ( ) . get ( "input_material" ) ;
if ( ! StrUtil . isEmpty ( input_materialflag ) & & input_materialflag . equals ( "false" ) ) {
input_material = "0" ;
}
if ( ! StrUtil . isEmpty ( input_materialflag ) & & input_materialflag . equals ( "true" ) ) {
input_material = "1" ;
}
jo . put ( "material_type" , material ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "put_goods_time" , device . getPut_goods_time ( ) ) ;
jo . put ( "islock" , device . getIslock ( ) ) ;
jo . put ( "status_name" , move ) ;
jo . put ( "status" , status ) ;
jo . put ( "device_id" , devicejo . optString ( "device_id" ) ) ;
jo . put ( "device_code" , devicejo . optString ( "device_code" ) ) ;
jo . put ( "device_name" , devicejo . optString ( "device_name" ) ) ;
jo . put ( "allow_update" , "1" ) ;
jo . put ( "input_material" , input_material ) ;
jo . put ( "model" , device . getModel ( ) ) ;
jo . put ( "process" , device . getProcess ( ) ) ;
jo . put ( "weight" , device . getWeight ( ) ) ;
jo . put ( "qc_status" , device . getQc_status ( ) ) ;
jo . put ( "date" , device . getDate ( ) ) ;
jo . put ( "operation_by" , device . getOperation_by ( ) ) ;
// 特殊驱动
}
resultArr . add ( jo ) ;
resultArr . add ( jo ) ;
}
}
resultJson . put ( "code" , "1" ) ;
resultJson . put ( "code" , "1" ) ;
@ -463,6 +625,12 @@ public class SSJHandServiceImpl implements SSJHandService {
String status = jsonObject . get ( "status" ) ;
String status = jsonObject . get ( "status" ) ;
String material_type = jsonObject . get ( "material_type" ) ;
String material_type = jsonObject . get ( "material_type" ) ;
String batch = jsonObject . get ( "batch" ) ;
String batch = jsonObject . get ( "batch" ) ;
String model = jsonObject . get ( "model" ) ;
String process = jsonObject . get ( "process" ) ;
String weight = jsonObject . get ( "weight" ) ;
String qc_status = jsonObject . get ( "qc_status" ) ;
String date = jsonObject . get ( "date" ) ;
String operation_by = jsonObject . get ( "operation_by" ) ;
JSONObject resultJson = new JSONObject ( ) ;
JSONObject resultJson = new JSONObject ( ) ;
DeviceService deviceService = SpringContextHolder . getBean ( DeviceServiceImpl . class ) ;
DeviceService deviceService = SpringContextHolder . getBean ( DeviceServiceImpl . class ) ;
@ -474,6 +642,10 @@ public class SSJHandServiceImpl implements SSJHandService {
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver ;
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver ;
//区域管制设备站点
//区域管制设备站点
StandardManipulatorInspectSiteDeviceDriver standardManipulatorInspectSiteDeviceDriver ;
StandardManipulatorInspectSiteDeviceDriver standardManipulatorInspectSiteDeviceDriver ;
// 检测站点_smaet200
StandardInspectSiteSmartDeviceDriver standardInspectSiteSmartDeviceDriver ;
// 普通站点
StandardOrdinarySiteDeviceDriver standardOrdinarySiteDeviceDriver ;
DeviceDto dto = deviceService . findByCode ( device_code ) ;
DeviceDto dto = deviceService . findByCode ( device_code ) ;
@ -504,6 +676,12 @@ public class SSJHandServiceImpl implements SSJHandService {
jo . put ( "hasGoodStatus" , status ) ;
jo . put ( "hasGoodStatus" , status ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "material_type" , material_type ) ;
jo . put ( "material_type" , material_type ) ;
jo . put ( "model" , model ) ;
jo . put ( "process" , process ) ;
jo . put ( "weight" , weight ) ;
jo . put ( "qc_status" , qc_status ) ;
jo . put ( "date" , date ) ;
jo . put ( "operation_by" , operation_by ) ;
deviceService . changeDeviceStatus ( jo ) ;
deviceService . changeDeviceStatus ( jo ) ;
if ( ! StrUtil . isEmpty ( material_type ) ) {
if ( ! StrUtil . isEmpty ( material_type ) ) {
ssjCacheSiteDeviceDriver . setMaterial ( material_type ) ;
ssjCacheSiteDeviceDriver . setMaterial ( material_type ) ;
@ -512,6 +690,39 @@ public class SSJHandServiceImpl implements SSJHandService {
ssjCacheSiteDeviceDriver . setBatch ( batch ) ;
ssjCacheSiteDeviceDriver . setBatch ( batch ) ;
}
}
}
}
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteSmartDeviceDriver ) {
standardInspectSiteSmartDeviceDriver = ( StandardInspectSiteSmartDeviceDriver ) device . getDeviceDriver ( ) ;
if ( StrUtil . equals ( "0" , material_type ) ) {
status = "0" ;
}
if ( StrUtil . equals ( "1" , material_type ) ) {
status = "1" ;
}
if ( "2,3,4,5" . contains ( material_type ) ) {
status = "2" ;
}
standardInspectSiteSmartDeviceDriver . setHasGoods ( Integer . parseInt ( status ) ) ;
device . setHas_goods ( Integer . parseInt ( status ) ) ;
JSONObject jo = new JSONObject ( ) ;
jo . put ( "device_code" , device_code ) ;
jo . put ( "hasGoodStatus" , status ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "material_type" , material_type ) ;
jo . put ( "model" , model ) ;
jo . put ( "process" , process ) ;
jo . put ( "weight" , weight ) ;
jo . put ( "qc_status" , qc_status ) ;
jo . put ( "date" , date ) ;
jo . put ( "operation_by" , operation_by ) ;
deviceService . changeDeviceStatus ( jo ) ;
if ( ! StrUtil . isEmpty ( material_type ) ) {
standardInspectSiteSmartDeviceDriver . setMaterial ( material_type ) ;
}
if ( ! StrUtil . isEmpty ( batch ) ) {
standardInspectSiteSmartDeviceDriver . setBatch ( batch ) ;
}
}
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteDeviceDriver ) {
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteDeviceDriver ) {
standardInspectSiteDeviceDriver = ( StandardInspectSiteDeviceDriver ) device . getDeviceDriver ( ) ;
standardInspectSiteDeviceDriver = ( StandardInspectSiteDeviceDriver ) device . getDeviceDriver ( ) ;
standardInspectSiteDeviceDriver . setMaterial ( material_type ) ;
standardInspectSiteDeviceDriver . setMaterial ( material_type ) ;
@ -526,6 +737,39 @@ public class SSJHandServiceImpl implements SSJHandService {
standardManipulatorInspectSiteDeviceDriver . setBatch ( batch ) ;
standardManipulatorInspectSiteDeviceDriver . setBatch ( batch ) ;
device . setBatch ( batch ) ;
device . setBatch ( batch ) ;
}
}
if ( device . getDeviceDriver ( ) instanceof StandardOrdinarySiteDeviceDriver ) {
standardOrdinarySiteDeviceDriver = ( StandardOrdinarySiteDeviceDriver ) device . getDeviceDriver ( ) ;
if ( StrUtil . equals ( "0" , material_type ) ) {
status = "0" ;
}
if ( StrUtil . equals ( "1" , material_type ) ) {
status = "1" ;
}
if ( "2,3,4,5" . contains ( material_type ) ) {
status = "2" ;
}
standardOrdinarySiteDeviceDriver . setHasGoods ( Integer . parseInt ( status ) ) ;
device . setHas_goods ( Integer . parseInt ( status ) ) ;
JSONObject jo = new JSONObject ( ) ;
jo . put ( "device_code" , device_code ) ;
jo . put ( "hasGoodStatus" , status ) ;
jo . put ( "batch" , batch ) ;
jo . put ( "material_type" , material_type ) ;
jo . put ( "model" , model ) ;
jo . put ( "process" , process ) ;
jo . put ( "weight" , weight ) ;
jo . put ( "qc_status" , qc_status ) ;
jo . put ( "date" , date ) ;
jo . put ( "operation_by" , operation_by ) ;
deviceService . changeDeviceStatus ( jo ) ;
if ( ! StrUtil . isEmpty ( material_type ) ) {
standardOrdinarySiteDeviceDriver . setMaterial ( material_type ) ;
}
if ( ! StrUtil . isEmpty ( batch ) ) {
standardOrdinarySiteDeviceDriver . setBatch ( batch ) ;
}
}
}
}
//清空
//清空
if ( type . equals ( "2" ) ) {
if ( type . equals ( "2" ) ) {
@ -539,10 +783,36 @@ public class SSJHandServiceImpl implements SSJHandService {
jo . put ( "batch" , "" ) ;
jo . put ( "batch" , "" ) ;
jo . put ( "material_type" , "" ) ;
jo . put ( "material_type" , "" ) ;
jo . put ( "put_goods_time" , "" ) ;
jo . put ( "put_goods_time" , "" ) ;
jo . put ( "model" , "" ) ;
jo . put ( "process" , "" ) ;
jo . put ( "weight" , "" ) ;
jo . put ( "qc_status" , "" ) ;
jo . put ( "date" , "" ) ;
jo . put ( "operation_by" , "" ) ;
deviceService . changeDeviceStatus ( jo ) ;
deviceService . changeDeviceStatus ( jo ) ;
ssjCacheSiteDeviceDriver . setMaterial ( "" ) ;
ssjCacheSiteDeviceDriver . setMaterial ( "" ) ;
ssjCacheSiteDeviceDriver . setBatch ( "" ) ;
ssjCacheSiteDeviceDriver . setBatch ( "" ) ;
}
}
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteSmartDeviceDriver ) {
standardInspectSiteSmartDeviceDriver = ( StandardInspectSiteSmartDeviceDriver ) device . getDeviceDriver ( ) ;
standardInspectSiteSmartDeviceDriver . setHasGoods ( 0 ) ;
device . setHas_goods ( 0 ) ;
JSONObject jo = new JSONObject ( ) ;
jo . put ( "device_code" , device_code ) ;
jo . put ( "hasGoodStatus" , "0" ) ;
jo . put ( "batch" , "" ) ;
jo . put ( "material_type" , "" ) ;
jo . put ( "put_goods_time" , "" ) ;
jo . put ( "model" , "" ) ;
jo . put ( "process" , "" ) ;
jo . put ( "weight" , "" ) ;
jo . put ( "qc_status" , "" ) ;
jo . put ( "date" , "" ) ;
jo . put ( "operation_by" , "" ) ;
deviceService . changeDeviceStatus ( jo ) ;
standardInspectSiteSmartDeviceDriver . setMaterial ( "" ) ;
standardInspectSiteSmartDeviceDriver . setBatch ( "" ) ;
}
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteDeviceDriver ) {
if ( device . getDeviceDriver ( ) instanceof StandardInspectSiteDeviceDriver ) {
standardInspectSiteDeviceDriver = ( StandardInspectSiteDeviceDriver ) device . getDeviceDriver ( ) ;
standardInspectSiteDeviceDriver = ( StandardInspectSiteDeviceDriver ) device . getDeviceDriver ( ) ;
standardInspectSiteDeviceDriver . setMaterial ( "" ) ;
standardInspectSiteDeviceDriver . setMaterial ( "" ) ;
@ -557,6 +827,26 @@ public class SSJHandServiceImpl implements SSJHandService {
standardManipulatorInspectSiteDeviceDriver . setBatch ( "" ) ;
standardManipulatorInspectSiteDeviceDriver . setBatch ( "" ) ;
device . setBatch ( "" ) ;
device . setBatch ( "" ) ;
}
}
if ( device . getDeviceDriver ( ) instanceof StandardOrdinarySiteDeviceDriver ) {
standardOrdinarySiteDeviceDriver = ( StandardOrdinarySiteDeviceDriver ) device . getDeviceDriver ( ) ;
standardOrdinarySiteDeviceDriver . setHasGoods ( 0 ) ;
device . setHas_goods ( 0 ) ;
JSONObject jo = new JSONObject ( ) ;
jo . put ( "device_code" , device_code ) ;
jo . put ( "hasGoodStatus" , "0" ) ;
jo . put ( "batch" , "" ) ;
jo . put ( "material_type" , "" ) ;
jo . put ( "put_goods_time" , "" ) ;
jo . put ( "model" , "" ) ;
jo . put ( "process" , "" ) ;
jo . put ( "weight" , "" ) ;
jo . put ( "qc_status" , "" ) ;
jo . put ( "date" , "" ) ;
jo . put ( "operation_by" , "" ) ;
deviceService . changeDeviceStatus ( jo ) ;
standardOrdinarySiteDeviceDriver . setMaterial ( "" ) ;
standardOrdinarySiteDeviceDriver . setBatch ( "" ) ;
}
}
}
resultJson . put ( "code" , "1" ) ;
resultJson . put ( "code" , "1" ) ;
resultJson . put ( "desc" , "更新成功" ) ;
resultJson . put ( "desc" , "更新成功" ) ;