Subversion Repositories SmartDukaan

Rev

Rev 5536 | Rev 5674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5536 Rev 5563
Line 51... Line 51...
51
	<where>
51
	<where>
52
  		 entityType = #{entityType}
52
  		 entityType = #{entityType}
53
  	</where>
53
  	</where>
54
</select>
54
</select>
55
 
55
 
56
<insert id="insertAlertedEntity" parameterType="map" useGeneratedKeys="true" keyProperty="id">
56
<insert id="insertAlertedEntity" parameterType="alerted_entity" useGeneratedKeys="true" keyProperty="id">
57
	INSERT INTO alerted_entity
57
	INSERT INTO alerted_entity
58
      (entityType, eventType, entityIdentifier, lastAlertedTime, entityProperties, entityProcessedState)
58
      (entityType, eventType, entityIdentifier, lastAlertedTime, entityProperties, entityProcessedState)
59
    VALUES
59
    VALUES
60
      (#{entityType}, #{eventType}, #{entityIdentifier}, #{lastAlertedTime}, #{entityProperties}, #{entityProcessedState})
60
      (#{entityType}, #{eventType}, #{entityIdentifier}, #{lastAlertedTime}, #{entityProperties}, #{entityProcessedState})
61
</insert>
61
</insert>