Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9ff28982
authored
Mar 23, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/sunlong_v5/golang-queue-server
parents
7aeb7271
0cfaa07d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
0 deletions
dal/user/InvoiceCompany/InvoiceCompany.go
order/goods_remind/main.go
special/activity_view_statistics/logs/2021-02-04.log
special/activity_view_statistics/logs/2021-02-04.log.wf
dal/user/InvoiceCompany/InvoiceCompany.go
View file @
9ff28982
...
...
@@ -7,10 +7,18 @@ import (
type
Company
struct
{
Id
int
`db:"id"`
CompanyType
int
`db:"company_type"`
ComSn
string
`db:"com_sn"`
ErpComSn
string
`db:"erp_com_sn"`
ComName
string
`db:"com_name"`
UserId
int
`db:"user_id"`
TaxId
int
`db:"tax_id"`
ComAddr
string
`db:"com_addr"`
ComTel
string
`db:"com_tel"`
ComTaxRegistration
string
`db:"com_tax_registration"`
ComBank
string
`db:"com_bank"`
ComBankNum
string
`db:"com_bank_num"`
ComNature
int
`db:"com_nature"`
EstablishmentTime
int
`db:"establishment_time"`
RegisteredCapital
float64
`db:"registered_capital"`
ComOrganization
string
`db:"com_organization"`
...
...
@@ -27,6 +35,11 @@ type Company struct {
ProductUseClassoneSn
int
`db:"product_use_classone_sn"`
ProductUseClasstwoSn
int
`db:"product_use_classtwo_sn"`
CustomerWebsite
string
`db:"customer_website"`
CustomerDesc
string
`db:"customer_desc"`
BusinessLicenseSrc
string
`db:"business_license_src"`
SaleDepartment
int
`db:"sale_department"`
CreateType
int
`db:"create_type"`
Status
int
`db:"status"`
CreateTime
int
`db:"create_time"`
UpdateTime
int
`db:"update_time"`
}
order/goods_remind/main.go
View file @
9ff28982
...
...
@@ -41,6 +41,14 @@ func initArgs() {
func
initDB
()
{
dsn
:=
util
.
Configs
.
Liexin_databases
.
Dns
engine
,
err
=
gorose
.
Open
(
&
gorose
.
Config
{
Driver
:
"mysql"
,
Dsn
:
dsn
})
engine
.
Use
(
func
(
eg
*
gorose
.
Engin
)
{
eg
.
SetLogger
(
gorose
.
NewLogger
(
&
gorose
.
LogOption
{
FilePath
:
"./log"
,
EnableSqlLog
:
false
,
EnableSlowLog
:
5
,
EnableErrorLog
:
false
,
}))
})
if
err
!=
nil
{
panic
(
err
)
}
...
...
special/activity_view_statistics/logs/2021-02-04.log
0 → 100644
View file @
9ff28982
File mode changed
special/activity_view_statistics/logs/2021-02-04.log.wf
0 → 100644
View file @
9ff28982
File mode changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment