Commit 3e514c02 authored by wangjinjing's avatar wangjinjing

bug修复

parent d5da19c8
...@@ -25,7 +25,7 @@ public class XxShxxyDwService { ...@@ -25,7 +25,7 @@ public class XxShxxyDwService {
public Integer update(XxShxxyDwDTO dto) { public Integer update(XxShxxyDwDTO dto) {
XxShxxyDw xxZhxx = BeanMapperUtil.map(dto, XxShxxyDw.class); XxShxxyDw xxZhxx = BeanMapperUtil.map(dto, XxShxxyDw.class);
LambdaUpdateWrapper<XxShxxyDw> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxShxxyDw> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxShxxyDw::getId, xxZhxx.getId()); wrapper.eq(XxShxxyDw::getId, xxZhxx.getId());
return xxShxxyDwMapper.update(xxZhxx, wrapper); return xxShxxyDwMapper.update(xxZhxx, wrapper);
} }
......
...@@ -25,7 +25,7 @@ public class XxShxxyService { ...@@ -25,7 +25,7 @@ public class XxShxxyService {
public Integer update(XxShxxyDTO dto) { public Integer update(XxShxxyDTO dto) {
XxShxxy xxZhxx = BeanMapperUtil.map(dto, XxShxxy.class); XxShxxy xxZhxx = BeanMapperUtil.map(dto, XxShxxy.class);
LambdaUpdateWrapper<XxShxxy> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxShxxy> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxShxxy::getXxyid, xxZhxx.getXxyid()); wrapper.eq(XxShxxy::getXxyid, xxZhxx.getXxyid());
return xxShxxyMapper.update(xxZhxx,wrapper); return xxShxxyMapper.update(xxZhxx,wrapper);
} }
......
...@@ -24,7 +24,7 @@ public class XxYjdwdmService { ...@@ -24,7 +24,7 @@ public class XxYjdwdmService {
public Integer update(XxYjdwdmDTO dto) { public Integer update(XxYjdwdmDTO dto) {
XxYjdwdm xxYjdwdm = BeanMapperUtil.map(dto, XxYjdwdm.class); XxYjdwdm xxYjdwdm = BeanMapperUtil.map(dto, XxYjdwdm.class);
LambdaUpdateWrapper<XxYjdwdm> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxYjdwdm> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxYjdwdm::getId, xxYjdwdm.getId()); wrapper.eq(XxYjdwdm::getId, xxYjdwdm.getId());
return xxYjdwdmMapper.update(xxYjdwdm,wrapper); return xxYjdwdmMapper.update(xxYjdwdm,wrapper);
} }
......
...@@ -24,7 +24,7 @@ public class XxYjrwService { ...@@ -24,7 +24,7 @@ public class XxYjrwService {
public Integer update(XxYjrwDTO dto) { public Integer update(XxYjrwDTO dto) {
XxYjrw xxYjrw = BeanMapperUtil.map(dto, XxYjrw.class); XxYjrw xxYjrw = BeanMapperUtil.map(dto, XxYjrw.class);
LambdaUpdateWrapper<XxYjrw> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxYjrw> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxYjrw::getRwid, xxYjrw.getRwid()); wrapper.eq(XxYjrw::getRwid, xxYjrw.getRwid());
return xxYjrwMapper.update(xxYjrw,wrapper); return xxYjrwMapper.update(xxYjrw,wrapper);
} }
......
...@@ -24,7 +24,7 @@ public class XxZhjfbgService { ...@@ -24,7 +24,7 @@ public class XxZhjfbgService {
public Integer update(XxZhjfbgDTO dto) { public Integer update(XxZhjfbgDTO dto) {
XxZhjfbg xxZhjfbg = BeanMapperUtil.map(dto, XxZhjfbg.class); XxZhjfbg xxZhjfbg = BeanMapperUtil.map(dto, XxZhjfbg.class);
LambdaUpdateWrapper<XxZhjfbg> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxZhjfbg> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxZhjfbg::getDhid, xxZhjfbg.getDhid()); wrapper.eq(XxZhjfbg::getDhid, xxZhjfbg.getDhid());
return xxZhjfbgMapper.update(xxZhjfbg,wrapper); return xxZhjfbgMapper.update(xxZhjfbg,wrapper);
} }
......
...@@ -23,7 +23,7 @@ public class XxZhxxService { ...@@ -23,7 +23,7 @@ public class XxZhxxService {
public Integer update(XxZhxxDTO xxZhxxDTO) { public Integer update(XxZhxxDTO xxZhxxDTO) {
XxZhxx xxZhxx = BeanMapperUtil.map(xxZhxxDTO, XxZhxx.class); XxZhxx xxZhxx = BeanMapperUtil.map(xxZhxxDTO, XxZhxx.class);
LambdaUpdateWrapper<XxZhxx> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<XxZhxx> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(XxZhxx::getZhid, xxZhxx.getZhid()); wrapper.eq(XxZhxx::getZhid, xxZhxx.getZhid());
return xxZhxxMapper.update(xxZhxx,wrapper); return xxZhxxMapper.update(xxZhxx,wrapper);
} }
......
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