|
|
@@ -1460,7 +1460,8 @@ func (r *WrGoodsInfo) GetDataEx() (interface{}, error) {
|
|
|
|
|
|
// 获取履约规则
|
|
|
mStep := WrGoodsPerformanceStep{}
|
|
|
- if r.TMPLATEID > 0 {
|
|
|
+ // 如果指定了履约模板id(-1是特殊的模板id:立即执行)
|
|
|
+ if r.TMPLATEID > 0 || r.TMPLATEID == -1 {
|
|
|
mStep.TEMPLATEID = r.TMPLATEID
|
|
|
} else {
|
|
|
mStep.MARKETID, mStep.WRSTANDARDID, mStep.HASWR = r.MARKETID, a.WRSTANDARDID, r.HASWR
|