|
@@ -127,9 +127,9 @@ func UsePersonList(this *entmanageapplication.UsePersonListReq) *entmanageapplic
|
|
|
LEFT JOIN entniche_wait_empower h on (h.id=a.wait_empower_id)
|
|
|
where a.status = 1 and a.ent_id = ? and h.end_time >= ?`
|
|
|
if common.ObjToString((*sourceData)["product_type"]) == YYSSJDZYFX {
|
|
|
- q += ` and h.product_type=='` + YYSSJDZYFX + `'`
|
|
|
+ q += ` and h.product_type='` + YYSSJDZYFX + `'`
|
|
|
} else {
|
|
|
- q += ` and h.product_type!='` + YYSSJDZYFX + `'`
|
|
|
+ q += ` and h.product_type<>'` + YYSSJDZYFX + `'`
|
|
|
}
|
|
|
q += ` order by a.update_time,a.id desc`
|
|
|
data := JyMysql.SelectBySql(q, this.EntId, nowTime)
|