浏览代码

SgTimeSheet

zhoutao 5 年之前
父节点
当前提交
4500a81614
共有 1 个文件被更改,包括 44 次插入0 次删除
  1. 44 0
      pigx-inventory/pigx-inventory-biz/src/main/resources/mapper/SgTimeSheetMapper.xml

+ 44 - 0
pigx-inventory/pigx-inventory-biz/src/main/resources/mapper/SgTimeSheetMapper.xml

@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~
+  ~      Copyright (c) 2018-2025, lengleng All rights reserved.
+  ~
+  ~  Redistribution and use in source and binary forms, with or without
+  ~  modification, are permitted provided that the following conditions are met:
+  ~
+  ~ Redistributions of source code must retain the above copyright notice,
+  ~  this list of conditions and the following disclaimer.
+  ~  Redistributions in binary form must reproduce the above copyright
+  ~  notice, this list of conditions and the following disclaimer in the
+  ~  documentation and/or other materials provided with the distribution.
+  ~  Neither the name of the pig4cloud.com developer nor the names of its
+  ~  contributors may be used to endorse or promote products derived from
+  ~  this software without specific prior written permission.
+  ~  Author: lengleng (wangiegie@gmail.com)
+  ~
+  -->
+
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+
+<mapper namespace="com.pig4cloud.pigx.qa.mapper.SgTimeSheetMapper">
+
+  <resultMap id="sgTimeSheetMap" type="com.pig4cloud.pigx.qa.entity.SgTimeSheet">
+                  <id property="id" column="id"/>
+                        <result property="timeMonth" column="time_month"/>
+                        <result property="eId" column="e_id"/>
+                        <result property="eCnname" column="e_cnname"/>
+                        <result property="monthOvertimeAdd" column="month_overtime_add"/>
+                        <result property="monthOvertimeDecrease" column="month_overtime_decrease"/>
+                        <result property="monthOvertimeSurplus" column="month_overtime_surplus"/>
+                        <result property="annualLeaveDecrease" column="annual_leave_decrease"/>
+                        <result property="annualLeaveSurplus" column="annual_leave_surplus"/>
+                        <result property="silkLeaveAdd" column="silk_leave_add"/>
+                        <result property="silkLeaveAll" column="silk_leave_all"/>
+                        <result property="leaveAbsenceAdd" column="leave_absence_add"/>
+                        <result property="leaveAbsenceAll" column="leave_absence_all"/>
+                        <result property="lateLess5" column="late_less5"/>
+                        <result property="lateGreate6" column="late_greate6"/>
+                        <result property="lateAll" column="late_all"/>
+            </resultMap>
+</mapper>