| | |
| | | * @date 2026-03-02 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @TableName("oracle_store_silk") |
| | | public class StoreSilkInfo { |
| | | |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import lombok.RequiredArgsConstructor; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import jakarta.validation.constraints.*; |
| | |
| | | * @author zhuguifei |
| | | * @date 2026-03-04 |
| | | */ |
| | | @DS("oracle") |
| | | @Validated |
| | | @RequiredArgsConstructor |
| | | @RestController |
| | |
| | | * @date 2026-03-04 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @TableName("MD_SHIFT") |
| | | public class MdShift extends BaseEntity { |
| | | public class MdShift { |
| | | |
| | | @Serial |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ud |
| | | * id |
| | | */ |
| | | @TableId(value = "ID") |
| | | private String id; |
| | |
| | | public class MdShiftBo extends BaseEntity { |
| | | |
| | | /** |
| | | * ud |
| | | * id |
| | | */ |
| | | @NotBlank(message = "ud不能为空", groups = { EditGroup.class }) |
| | | @NotBlank(message = "id不能为空", groups = { EditGroup.class }) |
| | | private String id; |
| | | |
| | | /** |
| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ud |
| | | * id |
| | | */ |
| | | @ExcelProperty(value = "ud") |
| | | @ExcelProperty(value = "id") |
| | | private String id; |
| | | |
| | | /** |
| | |
| | | package org.dromara.md.service.impl; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import org.dromara.common.core.utils.MapstructUtils; |
| | | import org.dromara.common.core.utils.StringUtils; |
| | | import org.dromara.common.mybatis.core.page.TableDataInfo; |
| | |
| | | * @author zhuguifei |
| | | * @date 2026-03-04 |
| | | */ |
| | | @DS("oracle") |
| | | @Slf4j |
| | | @RequiredArgsConstructor |
| | | @Service |
| | |
| | | namespace Md { |
| | | /** shift */ |
| | | type Shift = Common.CommonRecord<{ |
| | | /** ud */ |
| | | id: CommonType.IdType; |
| | | /** id */ |
| | | id: CommonType.IdType; |
| | | /** 车间外键 */ |
| | | wsId: CommonType.IdType; |
| | | wsId: CommonType.IdType; |
| | | /** 编码 */ |
| | | code: string; |
| | | code: string; |
| | | /** 名称 */ |
| | | name: string; |
| | | name: string; |
| | | /** 班次开始时间 */ |
| | | stim: string; |
| | | stim: string; |
| | | /** 班次结束时间 */ |
| | | etim: string; |
| | | etim: string; |
| | | /** 排序 */ |
| | | seq: number; |
| | | seq: number; |
| | | /** 启用 */ |
| | | enable: number; |
| | | enable: number; |
| | | /** 删除 */ |
| | | del: number; |
| | | del: number; |
| | | /** 创建用户 */ |
| | | createUserName: string; |
| | | createUserName: string; |
| | | /** 创建时间 */ |
| | | createUserTime: string; |
| | | createUserTime: string; |
| | | /** 更新用户 */ |
| | | updateUserName: string; |
| | | updateUserName: string; |
| | | /** 更新时间 */ |
| | | updateUserTime: string; |
| | | updateUserTime: string; |
| | | }>; |
| | | |
| | | /** shift search params */ |
| | |
| | | }, |
| | | { |
| | | key: 'id', |
| | | title: 'ud', |
| | | title: 'id', |
| | | align: 'center', |
| | | minWidth: 120 |
| | | }, |