|
@@ -205,13 +205,13 @@ func EtaBusinessUpdateStatus(cont context.Context) (err error) {
|
|
|
today, _ := time.ParseInLocation(utils.FormatDate, strToday, time.Local)
|
|
|
for _, b := range businesses {
|
|
|
cs := businessContracts[b.EtaBusinessId]
|
|
|
- // 无签约-正常来讲不会出现这种情况
|
|
|
+ // 待签约
|
|
|
if cs == nil || (cs != nil && len(cs) == 0) {
|
|
|
- if b.SigningStatus != eta_business.EtaBusinessSigningStatusTerminate {
|
|
|
- b.SigningStatus = eta_business.EtaBusinessSigningStatusTerminate
|
|
|
- b.ModifyTime = time.Now().Local()
|
|
|
- updateBusiness = append(updateBusiness, b)
|
|
|
- }
|
|
|
+ //if b.SigningStatus != eta_business.EtaBusinessSigningStatusTerminate {
|
|
|
+ // b.SigningStatus = eta_business.EtaBusinessSigningStatusTerminate
|
|
|
+ // b.ModifyTime = time.Now().Local()
|
|
|
+ // updateBusiness = append(updateBusiness, b)
|
|
|
+ //}
|
|
|
continue
|
|
|
}
|
|
|
|