jichengcheng 6 éve
szülő
commit
42714b2ccb

+ 21 - 0
src/dashoo.cn/backend/api/business/oilsupplier/enterprisemajorequipment/oilenterprisepersonnelstructure.go

@@ -0,0 +1,21 @@
+package enterprisepersonnelstructure
+
+import (
+	"time"
+)
+
+type OilenterPrisePersonnelStructure struct {
+	Id             int       `xorm:"not null pk autoincr INT(10)"`
+	SupplierCertId int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
+	MainEquipment  string    `xorm:"comment('主要设备名称') VARCHAR(100)"`
+	Specifications string    `xorm:"not null default '0' comment('规格型号') VARCHAR(10)"`
+	Number         string    `xorm:"not null default '0' comment('数量') CHAR(10)"`
+	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
+	IsDelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
+	CreateOn       time.Time `xorm:"DATETIME"`
+	CreateUserId   int       `xorm:"INT(10)"`
+	CreateBy       string    `xorm:"VARCHAR(50)"`
+	ModifiedOn     time.Time `xorm:"DATETIME"`
+	ModifiedUserId int       `xorm:"INT(10)"`
+	ModifiedBy     string    `xorm:"VARCHAR(50)"`
+}

+ 16 - 0
src/dashoo.cn/backend/api/business/oilsupplier/enterprisemajorequipment/oilenterprisepersonnelstructureService.go

@@ -0,0 +1,16 @@
+package oilpatentstatistical
+
+import (
+	. "dashoo.cn/backend/api/mydb"
+	"github.com/go-xorm/xorm"
+)
+
+type OilPatentStatisticalService struct {
+	MyServiceBase
+}
+
+func GetOilPatentStatisticalService(xormEngine *xorm.Engine) *OilPatentStatisticalService {
+	s := new(OilPatentStatisticalService)
+	s.DBE = xormEngine
+	return s
+}

+ 11 - 13
src/dashoo.cn/backend/api/business/oilsupplier/enterprisepersonnelstructure/oilenterprisepersonnelstructure.go

@@ -5,17 +5,15 @@ import (
 )
 
 type OilenterPrisePersonnelStructure struct {
-	Id             int       `xorm:"not null pk autoincr INT(10)"`
-	SupplierCertId int       `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
-	MainEquipment  string    `xorm:"comment('主要设备名称') VARCHAR(100)"`
-	Specifications string    `xorm:"not null default '0' comment('规格型号') VARCHAR(10)"`
-	Number         string    `xorm:"not null default '0' comment('数量') CHAR(10)"`
-	Remark         string    `xorm:"comment('备注') VARCHAR(500)"`
-	IsDelete       int       `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
-	CreateOn       time.Time `xorm:"DATETIME"`
-	CreateUserId   int       `xorm:"INT(10)"`
-	CreateBy       string    `xorm:"VARCHAR(50)"`
-	ModifiedOn     time.Time `xorm:"DATETIME"`
-	ModifiedUserId int       `xorm:"INT(10)"`
-	ModifiedBy     string    `xorm:"VARCHAR(50)"`
+	Id                  int    `xorm:"not null pk autoincr INT(10)"`
+	Employees           string `xorm:"comment('企业员工总数') VARCHAR(10)"`
+	ContractQuantity    string `xorm:"comment('合同化用工数量') VARCHAR(10)"`
+	UniversityDegrees   string `xorm:"not null default '0' comment('大学及以上学历人员数量') VARCHAR(10)"`
+	Technicians         string `xorm:"comment('技术、管理人员数量') VARCHAR(20)"`
+	SeniorProfessional  string `xorm:"comment('高级及以上职称人员数量') VARCHAR(100)"`
+	IntermediateTitle   string `xorm:"comment('中级职称人员数量') VARCHAR(100)"`
+	QualifiedPerson     string `xorm:"comment('具有国家注册执业资格人员数量') VARCHAR(100)"`
+	CertificateQuantity string `xorm:"comment('具有国家注册执业资格证书总数') VARCHAR(100)"`
+	Designer            string `xorm:"comment('设计人员总数') VARCHAR(100)"`
+	TechnicalPersonnel  string `xorm:"comment('技术工人总数') VARCHAR(100)"`
 }

+ 4 - 4
src/dashoo.cn/backend/api/business/oilsupplier/enterprisepersonnelstructure/oilenterprisepersonnelstructureService.go

@@ -1,16 +1,16 @@
-package oilpatentstatistical
+package OilenterPrisePersonnelStructure
 
 import (
 	. "dashoo.cn/backend/api/mydb"
 	"github.com/go-xorm/xorm"
 )
 
-type OilPatentStatisticalService struct {
+type OilenterPrisePersonnelStructureService struct {
 	MyServiceBase
 }
 
-func GetOilPatentStatisticalService(xormEngine *xorm.Engine) *OilPatentStatisticalService {
-	s := new(OilPatentStatisticalService)
+func GetOilenterPrisePersonnelStructureService(xormEngine *xorm.Engine) *OilenterPrisePersonnelStructureService {
+	s := new(OilenterPrisePersonnelStructureService)
 	s.DBE = xormEngine
 	return s
 }