ソースを参照

fix 回访功能

周箭河 5 年 前
コミット
a5581c8ddb

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentVisitServiceImpl.java

@@ -62,7 +62,7 @@ public class StudentVisitServiceImpl extends BaseServiceImpl<Integer, StudentVis
         if (queryInfo.getEndTime() != null) {
             queryInfo.setEndTime(DateUtil.getLastTimeWithDay(queryInfo.getEndTime()));
         }
-        PageInfoDegree<StudentVisitDto> pageInfo = new PageInfoDegree<>(queryInfo.getPage(), queryInfo.getRows());
+        PageInfo<StudentVisitDto> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
         Map<String, Object> params = new HashMap<String, Object>();
         MapUtil.populateMap(params, queryInfo);
 

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

@@ -116,7 +116,7 @@
                 AND sv.visiter_type_ = #{visiterType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
             </if>
             <if test="type != null">
-                AND sv.type = #{type}
+                AND sv.type_ = #{type}
             </if>
             <if test="purpose != null">
                 AND sv.purpose_ = #{purpose}