package org.linlinjava.jz.db.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.linlinjava.jz.db.dto.JzTicketActionDto;

public interface JzTicketActionMapperParent {
	
	static String str="";
	
	 @Select({" select id, ticket_id, `status`, status_sub, status_des, content, create_time, create_user , " + 
	 		" (select user_name from sys_user where id=create_user) create_user_name " + 
	 		" from jz_ticket_action where ticket_id= #{ticketId}"})
	 List<Map<String,Object>> selectByTicketId(@Param("ticketId") Integer ticketId);
}