| | |
| | | import com.whyc.mapper.MaterialProductHistoryMapper; |
| | | import com.whyc.pojo.MaterialProductApproving; |
| | | import com.whyc.pojo.MaterialProductHistory; |
| | | import com.whyc.pojo.ProductBom; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | .ge("e_version",version); |
| | | return mapper.selectList(query); |
| | | } |
| | | |
| | | public List<MaterialProductHistory> getListWithMaterialInfo(List<MaterialProductHistory> mpList) { |
| | | return mapper.getListWithMaterialInfo(mpList); |
| | | } |
| | | |
| | | public List<MaterialProductHistory> getListByParentCodeAndCustomCodeAndSubMaterialIdAndVersion(String parentCode, String customCode, List<ProductBom> bomList, int currentVersion) { |
| | | return mapper.getListByParentCodeAndCustomCodeAndSubMaterialIdAndVersion(parentCode,customCode,bomList,currentVersion); |
| | | } |
| | | } |