一键同步-多语言修改
This commit is contained in:
@ -1057,6 +1057,12 @@ public class DeviceServiceImpl implements DeviceService {
|
||||
deviceValue.setCategory(device.getCategory());
|
||||
deviceValue.setStationId(vo.getStationId());
|
||||
deviceValue.setDeviceName(device.getDeviceName());
|
||||
deviceValue.setDeviceNameEn(device.getDeviceNameEn());
|
||||
deviceValue.setDeviceNameFra(device.getDeviceNameFra());
|
||||
deviceValue.setDeviceNameSpa(device.getDeviceNameSpa());
|
||||
deviceValue.setDeviceNameDe(device.getDeviceNameDe());
|
||||
deviceValue.setDeviceNamePl(device.getDeviceNamePl());
|
||||
deviceValue.setDeviceNameAra(device.getDeviceNameAra());
|
||||
deviceValue.setStatus(device.getStatus());
|
||||
deviceValue.setCreateTime(new Date());
|
||||
deviceValue.setFromId(device.getFromId());
|
||||
|
||||
@ -22,8 +22,9 @@
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,group_id,dept_id,src_id,pid,category,
|
||||
station_id,device_name,device_name_en,device_type,
|
||||
producer,serial_no,status,device_json,`virtual`,from_id,hide,flow_direction,producer_type,unit_type
|
||||
station_id,device_name,
|
||||
device_name_en,device_name_fra,device_name_spa,device_name_de,device_name_pl,device_name_ara,
|
||||
device_type,producer,serial_no,status,device_json,`virtual`,from_id,hide,flow_direction,producer_type,unit_type
|
||||
</sql>
|
||||
|
||||
<sql id="Base_Column_List1">
|
||||
|
||||
Reference in New Issue
Block a user