提交 ed4ddb61 编写于 作者: ibizdev's avatar ibizdev

MoneyQ 部署微服务接口 [后台服务,接口示例]

上级 7bb26bd1
......@@ -57,9 +57,6 @@ public class IBIZOrderTypeServiceImpl extends ServiceImpl<IBIZOrderTypeMapper, I
if(!this.retBool(this.baseMapper.insert(et)))
return false;
CachedBeanCopier.copy(get(et.getIbizordertypeid()),et);
cn.ibizlab.core.sample.domain.IBIZOrderType actionLogicDE =new cn.ibizlab.core.sample.domain.IBIZOrderType();
et.copyTo(actionLogicDE,true);
ibizordertypeService.resetCodeList(actionLogicDE);
return true;
}
......@@ -75,9 +72,6 @@ public class IBIZOrderTypeServiceImpl extends ServiceImpl<IBIZOrderTypeMapper, I
if(!update(et,(Wrapper) et.getUpdateWrapper(true).eq("ibizordertypeid",et.getIbizordertypeid())))
return false;
CachedBeanCopier.copy(get(et.getIbizordertypeid()),et);
cn.ibizlab.core.sample.domain.IBIZOrderType actionLogicDE =new cn.ibizlab.core.sample.domain.IBIZOrderType();
et.copyTo(actionLogicDE,true);
ibizordertypeService.resetCodeList(actionLogicDE);
return true;
}
......@@ -90,8 +84,6 @@ public class IBIZOrderTypeServiceImpl extends ServiceImpl<IBIZOrderTypeMapper, I
@Override
@Transactional
public boolean remove(String key) {
IBIZOrderType et=new IBIZOrderType();
et.set("ibizordertypeid",key);
boolean result=removeById(key);
return result ;
}
......@@ -136,9 +128,6 @@ public class IBIZOrderTypeServiceImpl extends ServiceImpl<IBIZOrderTypeMapper, I
public boolean save(IBIZOrderType et) {
if(!saveOrUpdate(et))
return false;
cn.ibizlab.core.sample.domain.IBIZOrderType actionLogicDE =new cn.ibizlab.core.sample.domain.IBIZOrderType();
et.copyTo(actionLogicDE,true);
ibizordertypeService.resetCodeList(actionLogicDE);
return true;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册