|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import java.io.Serializable; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @ToString | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | public class PltProductFile implements Serializable { | 
|---|
|  |  |  | public class PltProductFile implements BaseEntity { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import java.io.Serializable; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @ToString | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | public class PrWorkingInstruction implements Serializable { | 
|---|
|  |  |  | public class PrWorkingInstruction implements BaseEntity { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  | t.* ,p.`name` plan_name,s.`name` station_name,u.`name` update_user_name | 
|---|
|  |  |  | FROM | 
|---|
|  |  |  | ( | 
|---|
|  |  |  | select * from sta_device_production_log_past where  device_no = #{deviceNo,jdbcType=VARCHAR} union | 
|---|
|  |  |  | select * from sta_device_production_log where device_no = #{deviceNo,jdbcType=VARCHAR} | 
|---|
|  |  |  | select <include refid="Base_Column_List" /> from sta_device_production_log_past where  device_no = #{deviceNo,jdbcType=VARCHAR} union | 
|---|
|  |  |  | select <include refid="Base_Column_List" /> from sta_device_production_log where device_no = #{deviceNo,jdbcType=VARCHAR} | 
|---|
|  |  |  | ) t | 
|---|
|  |  |  | left join pr_assembly_plan p on t.plan_id=p.id | 
|---|
|  |  |  | left join plt_station s on s.id = t.station_id | 
|---|