Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4636cbaba7
|
|
@ -52,7 +52,7 @@ public class TCPMonitorService {
|
|||
try {
|
||||
List<CheckDevice> initialDevices = mapper.selectDeviceList();
|
||||
initialDevices.forEach(device -> {
|
||||
if (device.getPort().equals("8080")){
|
||||
if (device.getPort() == 8080){
|
||||
devices.put(device.getId(), device);
|
||||
}else{
|
||||
pingDevices.put(device.getId(), device);
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="stallId != null">#{stallId},</if>
|
||||
<if test="canteenId != null">#{canteenId},</if>
|
||||
<if test="dishesId != null">#{dishesId},</if>
|
||||
<if test="imageUrl != null and imageUrl != ''">#{photoUrl},</if>
|
||||
<if test="imageUrl != null and imageUrl != ''">#{imageUrl},</if>
|
||||
<if test="machineNo != null">#{machineNo},</if>
|
||||
<if test="machineSn != null">#{machineSn},</if>
|
||||
<if test="sampleWeight != null">#{sampleWeight},</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue