소스 검색

添加预备案学员查询列表时间

zhangbin 1 년 전
부모
커밋
922d6c3828

+ 4 - 0
jsjp-service/src/main/java/com/miaxis/tms/dto/TmsStudentInfoTempDTO.java

@@ -25,5 +25,9 @@ public class TmsStudentInfoTempDTO implements Serializable {
     @ApiModelProperty(value = "地区编号",required = true)
     private String city;
 
+    @ApiModelProperty(value = "开始时间")
+    private String startDate;
 
+    @ApiModelProperty(value = "结束时间")
+    private String endDate;
 }

+ 2 - 0
jsjp-service/src/main/resources/mapper/tms/TmsStudentInfoMapper.xml

@@ -224,6 +224,8 @@
             </if>
             <if test="coachId!=null" >  AND ( t1.TSO_COACHID = #{coachId,jdbcType=NUMERIC }
                                         or t1.TSO_COACH_LEADER = #{coachId,jdbcType=NUMERIC } ) </if>
+            <if test="startDate!=null and startDate!='' " > and t1.tso_applydate <![CDATA[ >= ]]>  to_date(#{startDate},'yyyy-MM-dd') </if>
+            <if test="endDate!=null and endDate!='' " > and t1.tso_applydate <![CDATA[ < ]]>  to_date(#{endDate},'yyyy-MM-dd')+1 </if>
         </where>
         ORDER BY t1.TSO_ID desc
     </select>