|
@@ -87,7 +87,7 @@ public class MaterialTagInfoServiceImpl extends ServiceImpl<MaterialTagInfoMappe
|
|
|
|
|
|
public List<MaterialTagInfo> getByParams(String code,Long categotyId){
|
|
public List<MaterialTagInfo> getByParams(String code,Long categotyId){
|
|
QueryWrapper<MaterialTagInfo>queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<MaterialTagInfo>queryWrapper = new QueryWrapper<>();
|
|
- if(null!=code&&"".equals(code.trim())){
|
|
|
|
|
|
+ if(null!=code&&!"".equals(code.trim())){
|
|
queryWrapper.eq("code",code);
|
|
queryWrapper.eq("code",code);
|
|
}
|
|
}
|
|
if(null!=categotyId&&categotyId!=0){
|
|
if(null!=categotyId&&categotyId!=0){
|