切换导航条
此项目
正在载入...
登录
mmm-go
/
partnermg
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
陈志颖
4 years ago
提交
b235c9e1cae59d74cfc9fca0f2dd35bfc3633864
1 个父辈
a6076523
feat:修改栏目设置
隐藏空白字符变更
内嵌
并排对比
正在显示
7 个修改的文件
包含
16 行增加
和
16 行删除
pkg/application/columnSetting/service/column_setting.go
pkg/application/orderinfo/query/get_partner_id.go
pkg/application/orderinfo/query/get_product_id.go
pkg/application/orderinfo/service/order_info.go
pkg/constant/postgresql.go
pkg/port/beego/controllers/column_setting_controller.go
pkg/port/beego/controllers/order_info_controlller.go
pkg/application/columnSetting/service/column_setting.go
查看文件 @
b235c9e
...
...
@@ -19,7 +19,7 @@ type ColumnSettingService struct {
/**
* @Author SteveChan
* @Description //
TODO
新增用户时,初始化栏目设置
* @Description //新增用户时,初始化栏目设置
* @Date 23:13 2021/1/26
* @Param
* @return
...
...
@@ -69,7 +69,7 @@ func (columnSettingService *ColumnSettingService) CreateColumnSetting(createColu
/**
* @Author SteveChan
* @Description //
TODO
返回栏目设置
* @Description // 返回栏目设置
* @Date 23:14 2021/1/26
* @Param
* @return
...
...
@@ -212,7 +212,7 @@ func (columnSettingService *ColumnSettingService) RemoveColumnSetting(removeColu
/**
* @Author SteveChan
* @Description //
TODO
重置栏目设置
* @Description // 重置栏目设置
* @Date 23:15 2021/1/26
* @Param
* @return
...
...
@@ -271,7 +271,7 @@ func (columnSettingService *ColumnSettingService) ResetColumn(resetColumnCommand
/**
* @Author SteveChan
* @Description //
TODO
更新栏目设置
* @Description // 更新栏目设置
* @Date 23:15 2021/1/26
* @Param
* @return
...
...
pkg/application/orderinfo/query/get_partner_id.go
查看文件 @
b235c9e
...
...
@@ -8,7 +8,7 @@ package query
/**
* @Author SteveChan
* @Description //
TODO
查询合伙人id
* @Description // 查询合伙人id
* @Date 23:18 2021/1/6
**/
type
GetPartnerIdQuery
struct
{
...
...
pkg/application/orderinfo/query/get_product_id.go
查看文件 @
b235c9e
...
...
@@ -8,7 +8,7 @@ package query
/**
* @Author SteveChan
* @Description //
TODO
查询产品id
* @Description //查询产品id
* @Date 23:18 2021/1/6
**/
type
GetProductIdQuery
struct
{
...
...
pkg/application/orderinfo/service/order_info.go
查看文件 @
b235c9e
...
...
@@ -195,7 +195,7 @@ func (service OrderInfoService) GetOrderDetail(getOrderQuery query.GetOrderQuery
/**
* @Author SteveChan
* @Description //
TODO
创建订单,增加销售日期
* @Description // 创建订单,增加销售日期
* @Date 11:57 2021/1/26
* @Param
* @return
...
...
@@ -897,7 +897,7 @@ func (service OrderInfoService) ListOrderBonusForExcel(listOrderQuery query.List
/**
* @Author SteveChan
* @Description //
TODO
根据栏目设置,导出订单数据
* @Description //根据栏目设置,导出订单数据
* @Date 22:05 2021/1/10
* @Param
* @return
...
...
@@ -1027,7 +1027,7 @@ func (service OrderInfoService) ListOrderForExcel(listOrderQuery query.ListOrder
/**
* @Author SteveChan
* @Description //
TODO
批量导入创建订单,增加销售时间
* @Description // 批量导入创建订单,增加销售时间
* @Date 11:00 2021/1/7
* @Param
* @return
...
...
pkg/constant/postgresql.go
查看文件 @
b235c9e
...
...
@@ -4,9 +4,9 @@ import "os"
var
POSTGRESQL_DB_NAME
=
"partner_test"
var
POSTGRESQL_USER
=
"postgres"
var
POSTGRESQL_PASSWORD
=
"1993618jack"
// eagle1010
var
POSTGRESQL_HOST
=
"127.0.0.1"
// 114.55.200.59
var
POSTGRESQL_PORT
=
"5432"
// 31543
var
POSTGRESQL_PASSWORD
=
"eagle1010"
// eagle1010 1993618jack
var
POSTGRESQL_HOST
=
"114.55.200.59"
// 114.55.200.59 127.0.0.1
var
POSTGRESQL_PORT
=
"31543"
// 31543 5432
var
DISABLE_CREATE_TABLE
=
false
var
DISABLE_SQL_GENERATE_PRINT
=
false
...
...
pkg/port/beego/controllers/column_setting_controller.go
查看文件 @
b235c9e
...
...
@@ -54,7 +54,7 @@ func (controller *ColumnSettingController) CreateColumnSetting() {
/**
* @Author SteveChan
* @Description //
TODO
更新栏目设置
* @Description // 更新栏目设置
* @Date 22:52 2021/1/26
* @Param
* @return
...
...
@@ -89,7 +89,7 @@ func (controller *ColumnSettingController) UpdateColumnSetting() {
/**
* @Author SteveChan
* @Description //
TODO
获取栏目设置
* @Description // 获取栏目设置
* @Date 22:53 2021/1/26
* @Param
* @return
...
...
@@ -133,7 +133,7 @@ func (controller *ColumnSettingController) RemoveColumnSetting() {
/**
* @Author SteveChan
* @Description //
TODO
重置栏目设置
* @Description // 重置栏目设置
* @Date 22:52 2021/1/26
* @Param
* @return
...
...
pkg/port/beego/controllers/order_info_controlller.go
查看文件 @
b235c9e
...
...
@@ -941,7 +941,7 @@ func (c *OrderInfoController) ImportOrderFromExcel() {
myRow
=
tmpRow
}
}
case
4
:
//
TODO
销售日期格式和有效性校验
case
4
:
// 销售日期格式和有效性校验
{
regexpStr
:=
`(\d{4})/(\d{2})/(\d{2})`
ok
:=
regexp
.
MustCompile
(
regexpStr
)
.
MatchString
(
cell
)
...
...
请
注册
或
登录
后发表评论