This commit is contained in:
jing's 2024-01-09 21:10:35 +08:00
parent a0409d15e5
commit 888e861a6e
2 changed files with 4 additions and 3 deletions

View File

@ -1148,7 +1148,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
MaterialMainEntity materialMainEntity = materialMainList.get(0);
BomNewEbomParentVO baseMaterialVO = new BomNewEbomParentVO();
BeanUtil.copyProperties(materialMainEntity, baseMaterialVO);
baseMaterialVO.setCreatedBy(null);
// baseMaterialVO.setCreatedBy(SessionUtil.getUserCode());
baseMaterialVO.setExceptionStatus(materialMainEntity.getMaterialState());
return baseMaterialVO;

View File

@ -121,8 +121,9 @@
<select id="getMaterialByAnyNo" resultType="com.nflg.product.bomnew.pojo.vo.BaseMaterialVO">
select material_no, material_name, material_desc, procure_type, project_type, material_state,drawing_no,material_category_code ,material_get_type
from t_material_main
select a.row_id as materialRowId, material_no, material_name, material_desc, procure_type, project_type, material_state,drawing_no,a.material_category_code ,material_get_type,drawing_no
,material_texture as material ,material_texture ,material_weight,b.rel_category_code,b.category_name,material_unit
from t_material_main a join t_material_category b on a.material_category_code=b.category_code
where drawing_no in
<foreach collection="drawingNos" item="item" open="(" close=")" separator=",">
#{item}