浏览代码

SgTimeSheet

zhoutao 5 年之前
父节点
当前提交
8ea7dddea0

+ 88 - 0
pigx-inventory/pigx-inventory-biz/src/main/java/com/pig4cloud/pigx/qa/entity/SgTimeSheet.java

@@ -0,0 +1,88 @@
+package com.pig4cloud.pigx.qa.entity;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import java.math.BigDecimal;
+/**
+ *考勤表
+ *
+ * @author zhoutao
+ * @date 2019-04-15 14:10:13
+ */
+@Data
+@TableName("sg_time_sheet")
+@EqualsAndHashCode(callSuper = true)
+public class SgTimeSheet extends Model<SgTimeSheet> {
+	@ApiModelProperty(value = "id")
+	@TableId
+  private Long id;
+
+
+	/**
+	 * [id]
+	 *       ,[time_month]
+	 *       ,[e_id]
+	 *       ,[e_cnname]
+	 *       ,[month_overtime_add]
+	 *       ,[month_overtime_decrease]
+	 *       ,[month_overtime_surplus]
+	 *       ,[annual_leave_decrease]
+	 *       ,[annual_leave_surplus]
+	 *       ,[silk_leave_add]
+	 *       ,[silk_leave_all]
+	 *       ,[leave_absence_add]
+	 *       ,[leave_absence_all]
+	 *       ,[late_less5]
+	 *       ,[late_greate6]
+	 *       ,[late_all]
+	 */
+	@ApiModelProperty(value = "员工编号")
+	private Long eId;
+
+	@ApiModelProperty(value = "年月日期")
+	private Long timeMonth;
+
+	@ApiModelProperty(value = "员工姓名")
+	private String eCnname;
+
+	@ApiModelProperty(value = "当月加班")
+	private BigDecimal monthOvertimeAdd;
+
+	@ApiModelProperty(value = "当月调休")
+	private BigDecimal monthOvertimeDecrease;
+
+	@ApiModelProperty(value = "当月加班剩余")
+	private BigDecimal monthOvertimeSurplus;
+
+	@ApiModelProperty(value = "年假减少")
+	private BigDecimal annualLeaveDecrease;
+
+	@ApiModelProperty(value = "年假剩余")
+	private BigDecimal annualLeaveSurplus;
+
+	@ApiModelProperty(value = "病假增加")
+	private BigDecimal silkLeaveAdd;
+
+	@ApiModelProperty(value = "病假总计")
+	private BigDecimal silkLeaveAll;
+
+	@ApiModelProperty(value = "事假增加")
+	private BigDecimal leaveAbsenceAdd;
+
+	@ApiModelProperty(value = "事假总计")
+	private BigDecimal leaveAbsenceAll;
+
+	@ApiModelProperty(value = "5分内迟到")
+	private Long lateLess5;
+
+	@ApiModelProperty(value = "6分以上迟到")
+	private Long lateGreate6;
+
+	@ApiModelProperty(value = "总计迟到")
+	private Long lateAll;
+
+
+}

+ 9 - 0
pigx-inventory/pigx-inventory-biz/src/main/java/com/pig4cloud/pigx/qa/mapper/SgTimeSheetMapper.java

@@ -0,0 +1,9 @@
+package com.pig4cloud.pigx.qa.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.pig4cloud.pigx.qa.entity.SgTimeSheet;
+import org.apache.ibatis.annotations.Mapper;
+
+@Mapper
+public interface SgTimeSheetMapper extends BaseMapper<SgTimeSheet> {
+}

+ 11 - 0
pigx-inventory/pigx-inventory-biz/src/main/java/com/pig4cloud/pigx/qa/service/SgTimeSheetService.java

@@ -0,0 +1,11 @@
+package com.pig4cloud.pigx.qa.service;
+
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.pig4cloud.pigx.qa.entity.SgTimeSheet;
+
+public interface SgTimeSheetService extends IService<SgTimeSheet> {
+
+
+
+}

+ 12 - 0
pigx-inventory/pigx-inventory-biz/src/main/java/com/pig4cloud/pigx/qa/service/impl/SgTimeSheetServiceImpl.java

@@ -0,0 +1,12 @@
+package com.pig4cloud.pigx.qa.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.pig4cloud.pigx.qa.entity.SgTimeSheet;
+import com.pig4cloud.pigx.qa.mapper.SgTimeSheetMapper;
+import com.pig4cloud.pigx.qa.service.SgTimeSheetService;
+import org.springframework.stereotype.Service;
+
+@Service
+public class SgTimeSheetServiceImpl extends ServiceImpl<SgTimeSheetMapper, SgTimeSheet> implements SgTimeSheetService {
+
+}