【一期物料主数据】制作物料申请
This commit is contained in:
parent
77e2cea585
commit
092d010cf0
|
|
@ -152,4 +152,14 @@ public class MaterialAttrValueApi extends BaseApi {
|
||||||
return materialAttrValueService.getI18n21(attrValueCn);
|
return materialAttrValueService.getI18n21(attrValueCn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取制作物料名称国际化表
|
||||||
|
* @param
|
||||||
|
*/
|
||||||
|
@GetMapping("getI18n21List")
|
||||||
|
@ApiOperation("auto-获取制作物料名称国际化表")
|
||||||
|
public ResultVO<List<MaterialAttrValueI18n21Entity>> getI18n21List(@RequestParam("attrValueCn") String attrValueCn) {
|
||||||
|
return materialAttrValueService.getI18n21List(attrValueCn);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -167,4 +167,10 @@ public class MaterialAttrValueService extends ServiceImpl<MaterialAttrValueMappe
|
||||||
queryWrapper.eq(MaterialAttrValueI18n21Entity::getAttrValueCn, attrValueCn);
|
queryWrapper.eq(MaterialAttrValueI18n21Entity::getAttrValueCn, attrValueCn);
|
||||||
return ResultVO.success(materialAttrValueI18n21Mapper.selectOne(queryWrapper));
|
return ResultVO.success(materialAttrValueI18n21Mapper.selectOne(queryWrapper));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ResultVO<List<MaterialAttrValueI18n21Entity>> getI18n21List(String attrValueCn) {
|
||||||
|
LambdaQueryWrapper<MaterialAttrValueI18n21Entity> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.like(MaterialAttrValueI18n21Entity::getAttrValueCn, attrValueCn);
|
||||||
|
return ResultVO.success(materialAttrValueI18n21Mapper.selectList(queryWrapper));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue