ylx %!s(int64=7) %!d(string=hai) anos
pai
achega
8cc9045253

+ 1 - 1
saicLogistics/src/main/java/com/fuzamei/mapper/OperationHistoryMapper.xml

@@ -57,7 +57,7 @@
 		<where>
 			operator_id=#{userId}
 			<if test="operationTypeId!=null">
-				operation_type_id=#{operationTypeId}
+				and operation_type_id=#{operationTypeId}
 			</if>
 			<if test="startTime!=null and endTime!=null">
 				and operation_time between #{startTime} and #{endTime}