浏览代码

修复bug,资质文件部门查询错误
气源管理添加文件必输校验

Memory_LG 1 年之前
父节点
当前提交
7aee9162c9

+ 6 - 0
data-ui/src/views/data/housingconstruction/gassource/index.vue

@@ -312,6 +312,12 @@ export default {
         deptId: [
           {required: true, message: "所属部门不能为空", trigger: "blur"}
         ],
+        fileUrl: [
+          {required: true, message: "所属部门不能为空", trigger: "blur"}
+        ],
+        attachPaths: [
+          {required: true, message: "所属部门不能为空", trigger: "blur"}
+        ],
       }
     };
   },

+ 1 - 1
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionEnterpriseproductionreportMapper.xml

@@ -24,7 +24,7 @@
             parameterType="CenterdataTHousingconstructionEnterpriseproductionreport"
             resultMap="CenterdataTHousingconstructionEnterpriseproductionreportResult">
         <include refid="selectCenterdataTHousingconstructionEnterpriseproductionreportVo"/>
-        left join ${database_system}.sys_dept d on a.dept_id = d.dept_id
+        left join ${database_system}.sys_dept d on a.enterprise_id = d.dept_id
         <where>
             <if test="enterpriseId != null and enterpriseId != ''">
                 and enterprise_id = #{enterpriseId}