|
|
@@ -84,7 +84,7 @@ func (r *ErmcpOPApplyModel) buildSql(opType int32) string {
|
|
|
" left join useraccount u2" +
|
|
|
" on s.selluserid = u2.userid" +
|
|
|
" left join enumdicitem e" +
|
|
|
- " on e.enumitemname = g.goodunitid" +
|
|
|
+ " on e.enumitemname = w.unitid" +
|
|
|
" and e.enumdiccode = 'goodsunit'" +
|
|
|
" where t.operateapplytype = %v" +
|
|
|
" and s.userid = %v"
|