zouxuan 5 gadi atpakaļ
vecāks
revīzija
71d3ff96e9

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/TeacherSalaryComplaintsMapper.xml

@@ -96,7 +96,7 @@
 			<if test="organId != null">
 				t.organ_id_ = #{organId}
 			</if>
-			<if test="salarySettlementMonth != null">
+			<if test="salarySettlementMonth != null and salarySettlementMonth != ''">
 				AND tsc.salary_settlement_month_ = #{salarySettlementMonth}
 			</if>
 			<if test="teacherId != null">

+ 2 - 2
mec-web/src/main/java/com/ym/mec/web/controller/ExportController.java

@@ -90,9 +90,9 @@ public class ExportController extends BaseController {
         OutputStream outputStream = response.getOutputStream();
         try {
             HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"分部", "老师ID", "老师姓名", "课酬归属时间", "申述提交时间", "状态",
-                    "申述处理者", "备注"}, new String[]{
+                    "申述处理者"}, new String[]{
                     "organName", "teacherId", "realName", "salarySettlementMonth", "createTime", "statusEnum.msg",
-                    "operatorRealName", "memo"}, rows);
+                    "operatorRealName"}, rows);
             response.setContentType("application/octet-stream");
             response.setHeader("Content-Disposition", "attachment;filename=lender-" + DateUtil.getDate(new Date()) + ".xls");
             response.flushBuffer();