|
@@ -190,8 +190,12 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
|
190
|
190
|
|
191
|
191
|
String status = params.getString("status");
|
192
|
192
|
int statusInt = 0;
|
193
|
|
- if (null == status) statusInt = Integer.parseInt(status);
|
194
|
|
- taRecommendCustomer.setStatus(statusInt);
|
|
193
|
+ if (StringUtils.isEmpty(status)){
|
|
194
|
+ taRecommendCustomer.setStatus(statusInt);
|
|
195
|
+ }else{
|
|
196
|
+ taRecommendCustomer.setStatus(statusInt);
|
|
197
|
+ }
|
|
198
|
+
|
195
|
199
|
taRecommendCustomer.setRecommendPerson(taPerson.getPersonId());
|
196
|
200
|
|
197
|
201
|
// 报备有 10 天有效期
|