|
@@ -164,7 +164,7 @@ func (d *ApproverDao) ChangeNextStatus(id int, status int) error {
|
|
|
// 根据当前times,获取审批流程(包括原报)
|
|
|
func (d *ApproverDao) GetAuditorsWithOwner(bid int, dataType int, dataId int, cur_uid int) []viewmodels.Auditors {
|
|
|
auditors := make([]viewmodels.Auditors, 0)
|
|
|
- auditor := viewmodels.Auditors{Progress: "", Id: "", Status: 2}
|
|
|
+ auditor := viewmodels.Auditors{Progress: "", Id: "0", Status: 2}
|
|
|
|
|
|
_, err := d.engine.Sql("select name, company, position, mobile, id as `audit_id` from `cm_project_account` where id = ?", cur_uid).Get(&auditor)
|
|
|
|