|
@@ -180,7 +180,7 @@ func AddOrderWork(acceptanceData map[string]interface{}, userData map[string]int
|
|
|
"two_type": two_type,
|
|
|
"department_no": gconv.String(personMap["deptId"]),
|
|
|
"department_name": gconv.String(personMap["deptName"]),
|
|
|
- "update_time": nowTime,
|
|
|
+ "update_time": common.If(gconv.Int64(userData["orderStatus"]) == 0, nowTime, nil),
|
|
|
}
|
|
|
ok3 := WorkOrder.Insert("order_work", orderWorkMap)
|
|
|
if ok3 > 0 {
|
|
@@ -413,7 +413,6 @@ FROM
|
|
|
//三部查询
|
|
|
deptCount3 := CalculateProportion(strings.Join(positionIdArr3, ","))
|
|
|
if deptCount1 == 0 {
|
|
|
-
|
|
|
return true, administrators1, allData
|
|
|
}
|
|
|
if deptCount3 == 0 {
|