Commit 7d06e16f authored by zhangjianqian's avatar zhangjianqian

bug

parent 5507eeeb
......@@ -86,7 +86,7 @@ public class TNfcSettingServiceImpl implements ITNfcSettingService
return a;
}
TNfcSetting ts = tNfcSettingMapper.getInfoByNfcNum(tNfcSetting.getNfcNum());
if(ts.getNfcId()!=tNfcSetting.getNfcId()){
if(ts!=null&&ts.getNfcId()!=tNfcSetting.getNfcId()){
ts.setNfcNum("");
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