|
@@ -595,7 +595,7 @@ func UserSynchronousList(customerServiceId, userId, entId, messageId int64, crea
|
|
create_time := nowForm.Format(util.Date_Full_Layout)
|
|
create_time := nowForm.Format(util.Date_Full_Layout)
|
|
//查看汇总表
|
|
//查看汇总表
|
|
IC.BaseMysql.ExecTx("更新汇总表", func(tx *sql.Tx) bool {
|
|
IC.BaseMysql.ExecTx("更新汇总表", func(tx *sql.Tx) bool {
|
|
- data := IC.BaseMysql.SelectBySqlByTx(tx, "select * from customer_service_access where ent_id=? and user_id=? for update ", entId, userId)
|
|
|
|
|
|
+ data := IC.BaseMysql.SelectBySqlByTx(tx, "select customer_service_access from socialize_summary where ent_id=? and user_id=? for update ", entId, userId)
|
|
//data := FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "customer_service_access", "")
|
|
//data := FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "customer_service_access", "")
|
|
customer_service_access := 0
|
|
customer_service_access := 0
|
|
if data != nil && len(*data) > 0 {
|
|
if data != nil && len(*data) > 0 {
|