From 6fbc114825b0046cf656feac2be887342533e64e Mon Sep 17 00:00:00 2001 From: gongbiao Date: Fri, 27 Sep 2019 15:45:01 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5=E6=B5=AE=E5=B1=82=E5=B9=BF?= =?UTF-8?q?=E5=91=8A][=E4=BF=AE=E6=94=B9][=E5=88=97=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WxFloatingLayerServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFloatingLayerServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFloatingLayerServiceImpl.java index 0161c88fd..ae4e83a1c 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFloatingLayerServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFloatingLayerServiceImpl.java @@ -27,16 +27,16 @@ public class WxFloatingLayerServiceImpl implements WxFloatingLayerService { private final Logger logger = LoggerFactory.getLogger(this.getClass()); @Autowired - WxFloatingLayerMapper WxFloatingLayerMapper; + WxFloatingLayerMapper wxFloatingLayerMapper; @Override public PageInfo listAsPage(WxFloatingLayer record, Integer pageIndex, Integer pageSize) { - return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> WxFloatingLayerMapper.findList(record)); + return PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxFloatingLayerMapper.findList(record)); } @Override public WxFloatingLayer getById(Long id) { - return WxFloatingLayerMapper.selectById(id); + return wxFloatingLayerMapper.selectById(id); } @Transactional(propagation = Propagation.REQUIRED, rollbackFor = {Exception.class}) @@ -54,10 +54,10 @@ public class WxFloatingLayerServiceImpl implements WxFloatingLayerService { wxFloatingLayer.setId(idWorker.nextId()); wxFloatingLayer.setCreateTime(date); wxFloatingLayer.setUpdateTime(date); - WxFloatingLayerMapper.insert(wxFloatingLayer); + wxFloatingLayerMapper.insert(wxFloatingLayer); } else { wxFloatingLayer.setUpdateTime(date); - WxFloatingLayerMapper.updateById(wxFloatingLayer); + wxFloatingLayerMapper.updateById(wxFloatingLayer); } return new ResultData(Result.SUCCESS, "操作成功"); }