andrew před 4 roky
rodič
revize
5492453635

+ 1
- 1
src/main/java/com/huiju/estateagents/property/dao/TpTicketMapper.java Zobrazit soubor

32
      */
32
      */
33
     IPage<TpTicket> selectByCommuniytIdAndByTaUserIdAndByType(Page page,@Param("type") String type);
33
     IPage<TpTicket> selectByCommuniytIdAndByTaUserIdAndByType(Page page,@Param("type") String type);
34
 
34
 
35
-    TpTicket selectTpTicketName(@Param("communityId")Integer communityId, @Param("type")String type, @Param("ticketTitle")String ticketTitle);
35
+    TpTicket selectTpTicketName(@Param("orgId")Integer orgId, @Param("type")String type, @Param("ticketTitle")String ticketTitle);
36
 
36
 
37
     void updateTpUserId(@Param("ticketId") Integer ticketId);
37
     void updateTpUserId(@Param("ticketId") Integer ticketId);
38
 }
38
 }

+ 1
- 1
src/main/resources/mapper/property/TpTicketMapper.xml Zobrazit soubor

91
     select
91
     select
92
     *
92
     *
93
     from tp_ticket
93
     from tp_ticket
94
-    where community_id = #{communityId,jdbcType=INTEGER}
94
+    where org_id = #{orgId,jdbcType=INTEGER}
95
      and ticket_title= #{ticketTitle,jdbcType=INTEGER}
95
      and ticket_title= #{ticketTitle,jdbcType=INTEGER}
96
      and type = #{type,jdbcType=VARCHAR}
96
      and type = #{type,jdbcType=VARCHAR}
97
   </select>
97
   </select>