|
@@ -23,13 +23,13 @@ class SettingService extends CrudService {
|
|
|
if (!setting) {
|
|
|
throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '设置信息不存在');
|
|
|
}
|
|
|
- if (planyearid) {
|
|
|
+ if (planyearid || planyearid === '') {
|
|
|
setting.planyearid = planyearid;
|
|
|
}
|
|
|
- if (planid) {
|
|
|
+ if (planid || planid === '') {
|
|
|
setting.planid = planid;
|
|
|
}
|
|
|
- if (termid) {
|
|
|
+ if (termid || termid === '') {
|
|
|
setting.termid = termid;
|
|
|
}
|
|
|
if (user_email) {
|