wangzhuo пре 2 година
родитељ
комит
2aa2c4207e

+ 13 - 0
ruoyi-anpin/src/main/java/com/ruoyi/anpin/domain/TCostManagement.java

@@ -207,6 +207,19 @@ public class TCostManagement extends BaseEntity
      */
     private Long itemExpenseId;
 
+    /**
+     * 明细项目检索(检索)
+     */
+    private Long itemBelongsProjectId;
+
+    public Long getItemBelongsProjectId() {
+        return itemBelongsProjectId;
+    }
+
+    public void setItemBelongsProjectId(Long itemBelongsProjectId) {
+        this.itemBelongsProjectId = itemBelongsProjectId;
+    }
+
     public Integer getfBillstatus() {
         return fBillstatus;
     }

+ 1 - 0
ruoyi-anpin/src/main/resources/mapper/anpin/TCostManagementMapper.xml

@@ -101,6 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="createById != null  and createById != ''"> and TCM.create_by_id = #{createById}</if>
             <if test="createBy != null  and createBy != ''"> and TCM.create_by like concat('%', #{createBy}, '%')</if>
             <if test="itemExpenseId != null  and itemExpenseId != ''"> and TCMI.expense_id = #{itemExpenseId}</if>
+            <if test="itemBelongsProjectId != null  and itemBelongsProjectId != ''"> and TCMI.belongs_project_id = #{itemBelongsProjectId}</if>
             <if test="itemDepartment != null  and itemDepartment != ''"> and TCMI.department_id = #{itemDepartment}</if>
             <if test="itemPersonnel != null  and itemPersonnel != ''"> and TCMI.personnel_id = #{itemPersonnel}</if>
             <if test="itemMatterName != null  and itemMatterName != ''"> and TCMI.matter_name like concat('%', #{itemMatterName}, '%')</if>