소스 검색

DeBugDeBugDeBug

buzhanyi 2 년 전
부모
커밋
9b5d2711bd

+ 1 - 1
purchase-system/src/main/resources/mapper/plan/PlanYearsMapper.xml

@@ -120,7 +120,7 @@
 				AND p.project_status = #{projectStatus}
 			</if>
 			<if test="params.beginTime!= null and params.beginTime != ''"><!-- 开始时间检索 -->
-				and date_format(p.plan_demand_sub_time,'%y%m%d') &gt;= #{params.beginTime}
+				and p.plan_demand_sub_time &gt;= #{params.beginTime}
 			</if>
 			<if test="params.endTime!= null and params.endTime != '' "><!-- 结束时间检索 -->
 				and p.plan_demand_sub_time &lt;= #{params.endTime}

+ 1 - 1
purchase-system/src/main/resources/mapper/plan/ProvisionalPlanMapper.xml

@@ -227,7 +227,7 @@
                 AND p.project_status = #{projectStatus}
             </if>
             <if test="params.beginTime!= null and params.beginTime != ''"><!-- 开始时间检索 -->
-                and date_format(p.plan_demand_sub_time,'%y%m%d') &gt;= #{params.beginTime}
+                and p.plan_demand_sub_time &gt;= #{params.beginTime}
             </if>
             <if test="params.endTime!= null and params.endTime != '' "><!-- 结束时间检索 -->
                 and p.plan_demand_sub_time &lt;= #{params.endTime}