add export function
							parent
							
								
									52644c1deb
								
							
						
					
					
						commit
						f31071afc6
					
				| @ -0,0 +1,33 @@ | ||||
| package cn.estsh.i3plus.pojo.aps.bean; | ||||
| 
 | ||||
| import cn.estsh.i3plus.pojo.aps.common.BeanRelation; | ||||
| import cn.estsh.i3plus.pojo.aps.holders.EBaseOrder; | ||||
| import com.fasterxml.jackson.annotation.JsonIgnore; | ||||
| import io.swagger.annotations.Api; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| 
 | ||||
| import javax.persistence.Entity; | ||||
| import javax.persistence.Table; | ||||
| 
 | ||||
| /** | ||||
|  * @Description :安全库存订单 | ||||
|  * @Reference : | ||||
|  * @Author : jason.niu | ||||
|  * @CreateDate : 2021-02-23 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Entity | ||||
| @Table(name = "APS_SAFE_STOCK_ORDER") | ||||
| @Api("安全库存订单") | ||||
| public class SafeStockOrder extends BaseOrder { | ||||
| 
 | ||||
|     private static final long serialVersionUID = 5944067344390531794L; | ||||
| 
 | ||||
|     @JsonIgnore | ||||
|     public Work getWork() { | ||||
|         return BeanRelation.get(this, EBaseOrder.Works); | ||||
|     } | ||||
| } | ||||
| @ -1,5 +1,5 @@ | ||||
| package cn.estsh.i3plus.pojo.aps.holders; | ||||
| 
 | ||||
| public enum EImportField { | ||||
|     Detail | ||||
|     ImportDetail | ||||
| } | ||||
|  | ||||
| @ -0,0 +1,21 @@ | ||||
| package cn.estsh.i3plus.pojo.aps.model; | ||||
| 
 | ||||
| import io.swagger.annotations.Api; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.util.List; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : 表格导出查询参数 | ||||
|  * @Reference : | ||||
|  * @Author : jason.niu | ||||
|  * @CreateDate : 2020-02-25 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Api("表格导出查询参数") | ||||
| public class ExportModelRequest { | ||||
|     private String filter; | ||||
|     private List<APSPager.SortData> sorts; | ||||
|     private String tableName; | ||||
| } | ||||
| @ -0,0 +1,9 @@ | ||||
| package cn.estsh.i3plus.pojo.aps.repository; | ||||
| 
 | ||||
| import cn.estsh.i3plus.pojo.aps.bean.SafeStockOrder; | ||||
| import org.springframework.data.repository.CrudRepository; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| @Repository | ||||
| public interface SafeStockOrderRepository extends CrudRepository<SafeStockOrder, Long> { | ||||
| } | ||||
| @ -1,5 +1,5 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Class name="ImportDetail"> | ||||
|     <Relation field="Fields" name="ImportField" reverse="Detail" type="ONE_TO_MULTI" owner="true"> | ||||
|     <Relation field="Fields" name="ImportField" reverse="ImportDetail" type="ONE_TO_MULTI" owner="true"> | ||||
|     </Relation> | ||||
| </Class> | ||||
					Loading…
					
					
				
		Reference in New Issue