Browse Source

修改客户信息编码

training
caoyizhong 2 years ago
parent
commit
a382fb8002
  1. 1
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataClientController.java
  2. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java

1
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataClientController.java

@ -96,6 +96,7 @@ public class BasicdataClientController extends BladeController {
}else{
queryWrapper.eq("pid","0");
}
queryWrapper.orderByDesc("create_time");
IPage<BasicdataClientEntity> pages = basicdataClientService.page(Condition.getPage(query),queryWrapper);
// pages.getRecords().forEach( i ->{
// if(!i.getCreateUser().equals(null)){

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java

@ -290,7 +290,7 @@ public class BasicdataClientServiceImpl extends BaseServiceImpl<BasicdataClientM
@Override
public List<BasicdataClientEntity> listCode(String code) {
return baseMapper.selectList(Wrappers.<BasicdataClientEntity>query().lambda()
.eq(BasicdataClientEntity::getReserve1,code)
.eq(BasicdataClientEntity::getClientCode,code)
);
}

Loading…
Cancel
Save