This commit is contained in:
parent
a0409d15e5
commit
888e861a6e
|
|
@ -1148,7 +1148,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
MaterialMainEntity materialMainEntity = materialMainList.get(0);
|
MaterialMainEntity materialMainEntity = materialMainList.get(0);
|
||||||
BomNewEbomParentVO baseMaterialVO = new BomNewEbomParentVO();
|
BomNewEbomParentVO baseMaterialVO = new BomNewEbomParentVO();
|
||||||
BeanUtil.copyProperties(materialMainEntity, baseMaterialVO);
|
BeanUtil.copyProperties(materialMainEntity, baseMaterialVO);
|
||||||
baseMaterialVO.setCreatedBy(null);
|
// baseMaterialVO.setCreatedBy(SessionUtil.getUserCode());
|
||||||
|
|
||||||
baseMaterialVO.setExceptionStatus(materialMainEntity.getMaterialState());
|
baseMaterialVO.setExceptionStatus(materialMainEntity.getMaterialState());
|
||||||
return baseMaterialVO;
|
return baseMaterialVO;
|
||||||
|
|
|
||||||
|
|
@ -121,8 +121,9 @@
|
||||||
|
|
||||||
|
|
||||||
<select id="getMaterialByAnyNo" resultType="com.nflg.product.bomnew.pojo.vo.BaseMaterialVO">
|
<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
|
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
|
||||||
from t_material_main
|
,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
|
where drawing_no in
|
||||||
<foreach collection="drawingNos" item="item" open="(" close=")" separator=",">
|
<foreach collection="drawingNos" item="item" open="(" close=")" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue