...
|
...
|
@@ -48,7 +48,7 @@ var _ = Describe("获取个人任务统计", func() { |
|
|
"INSERT INTO tasks (id, company_id, task_name, task_type, sponsor, task_status, reference_resource, customer_value, task_nature, su_money, acceptance_standard, task_description, task_picture_urls, is_reward_take, participators, task_percentage, solve_report, solve_picture_urls, create_time, release_time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
|
|
4, 101, "竞标任务1", 2, &domain.EmployeeInfo{
|
|
|
Uid: 2499036607974745099,
|
|
|
}, 2, "null", pg.Array([]string{"口感", "便利", "品牌"}), "面", 1000.00, "验收标准1", "任务描述1", pg.Array([]string{}), false, "null", "null", "", pg.Array([]string{}), time.Now(), time.Now().Add(dayAfter))
|
|
|
}, 1, "null", pg.Array([]string{"口感", "便利", "品牌"}), "面", 1000.00, "验收标准1", "任务描述1", pg.Array([]string{}), false, "null", "null", "", pg.Array([]string{}), time.Now(), time.Now().Add(dayAfter))
|
|
|
Expect(err3).NotTo(HaveOccurred())
|
|
|
_, err4 := pG.DB.QueryOne(
|
|
|
pg.Scan(),
|
...
|
...
|
|