huangjiayang
2025-05-07 f536fc9fdb2d65abf08e135d806af78716fc7e62
【UPDATE】BOM管理接口
已修改3个文件
8 ■■■■ 文件已修改
aps-modules/aps-core/src/main/java/com/aps/core/controller/basicData/ApsBomController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsBom.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/java/com/aps/core/controller/basicData/ApsBomController.java
@@ -35,7 +35,7 @@
    @GetMapping("/list")
    public TableDataInfo list(ApsBom apsBom)
    {
        startPage();
//        startPage();
        List<ApsBom> list = apsBomService.selectApsBomList(apsBom);
        return getDataTable(list);
    }
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsBom.java
@@ -54,7 +54,7 @@
    /** 总数量 */
    @Excel(name = "总数量")
    private BigDecimal totalNum;
    private BigDecimal total_num;
    /** 准备工时 */
    @Excel(name = "准备工时")
aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml
@@ -39,8 +39,8 @@
        <where>  
            <if test="bomLineId != null  and bomLineId != ''"> and bom_line_id = #{bomLineId}</if>
            <if test="bomHeaderId != null  and bomHeaderId != ''"> and bom_header_id = #{bomHeaderId}</if>
            <if test="itemCode != null  and itemCode != ''"> and item_code like '%'||#{itemCode}||'%'</if>
            <if test="itemName != null  and itemName != ''"> and item_name like '%'|| #{itemName}||'%'</if>
            <if test="itemCode != null  and itemCode != ''"> and item_code like '%' || #{itemCode} || '%'</if>
            <if test="itemName != null  and itemName != ''"> and item_name like '%' || #{itemName} || '%'</if>
            <if test="params.beginStartDate != null and params.beginStartDate != '' and params.endStartDate != null and params.endStartDate != ''"> and start_date between #{params.beginStartDate} and #{params.endStartDate}</if>
            <if test="params.beginEndDate != null and params.beginEndDate != '' and params.endEndDate != null and params.endEndDate != ''"> and end_date between #{params.beginEndDate} and #{params.endEndDate}</if>
            <if test="orgCode != null  and orgCode != ''"> and org_code = #{orgCode}</if>