台账识别码修改
This commit is contained in:
@@ -816,7 +816,7 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
||||
private void coderM3d(Device deviceDetail,Boolean updateFlag){
|
||||
if(updateFlag){
|
||||
Device deviceRes = deviceMapper.selectById(deviceDetail.getId());
|
||||
if(StrUtil.isNotBlank(deviceDetail.getDevKey()) && !deviceRes.getSeries().equals(deviceDetail.getDevKey())){
|
||||
if(StrUtil.isNotBlank(deviceDetail.getDevKey()) && !deviceRes.getDevKey().equals(deviceDetail.getDevKey())){
|
||||
deviceDetail.setDevKey(DeviceUtil.encodeString(devCD,deviceDetail.getDevKey()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user