Commit d4e1d584 authored by zhangjianqian's avatar zhangjianqian

bug

parent 7620720a
...@@ -86,8 +86,7 @@ public class TNfcSettingServiceImpl implements ITNfcSettingService ...@@ -86,8 +86,7 @@ public class TNfcSettingServiceImpl implements ITNfcSettingService
return a; return a;
} }
TNfcSetting ts = tNfcSettingMapper.getInfoByNfcNum(tNfcSetting.getNfcNum()); TNfcSetting ts = tNfcSettingMapper.getInfoByNfcNum(tNfcSetting.getNfcNum());
int nfcNum = tNfcSettingMapper.getNfcNum(tNfcSetting.getNfcNum()); if(ts.getNfcId()!=tNfcSetting.getNfcId()){
if (nfcNum!=0){
ts.setNfcNum(""); ts.setNfcNum("");
tNfcSettingMapper.updateTNfcSetting(ts); tNfcSettingMapper.updateTNfcSetting(ts);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment