|
|
@@ -752,6 +752,7 @@ type WrTradeDetail struct {
|
|
|
|
|
|
func (r *WrTradeDetail) calc() {
|
|
|
r.Wr2FactorType.Calc()
|
|
|
+ r.MATCHUSERNAME = EncryptByStar(r.MATCHUSERNAME)
|
|
|
}
|
|
|
|
|
|
func (r *WrTradeDetail) buildSql() string {
|
|
|
@@ -2203,6 +2204,7 @@ type WrScfContract struct {
|
|
|
|
|
|
func (r *WrScfContract) calc() {
|
|
|
r.LENDERUSERNAME = mtpcache.GetUserNameByUserId(r.LENDERUSERID)
|
|
|
+ r.LENDERUSERNAME = EncryptByStar(r.LENDERUSERNAME)
|
|
|
r.UNPAIDINTEREST.Set(r.TOTALINTEREST - r.CLOSEINTEREST)
|
|
|
r.UNPAIDINTEREST.Round(2)
|
|
|
}
|