ylx 7 年之前
父节点
当前提交
8cc9045253
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      saicLogistics/src/main/java/com/fuzamei/mapper/OperationHistoryMapper.xml

+ 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}