[修改] 申请权限流程userId
This commit is contained in:
+3
@@ -1,6 +1,7 @@
|
|||||||
package com.adc.da.report.service.impl;
|
package com.adc.da.report.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.adc.da.login.util.UserUtils;
|
||||||
import com.adc.da.report.dao.mysql.PowerApplyActDao;
|
import com.adc.da.report.dao.mysql.PowerApplyActDao;
|
||||||
import com.adc.da.report.eo.PowerApplyAct;
|
import com.adc.da.report.eo.PowerApplyAct;
|
||||||
import com.adc.da.report.service.IPowerApplyActService;
|
import com.adc.da.report.service.IPowerApplyActService;
|
||||||
@@ -71,6 +72,8 @@ public class IpowerApplyActServiceImpl extends ServiceImpl<PowerApplyActDao, Pow
|
|||||||
*/
|
*/
|
||||||
public void saveOrUpdateSingle(PowerApplyAct powerApplyAct) {
|
public void saveOrUpdateSingle(PowerApplyAct powerApplyAct) {
|
||||||
if (StringUtils.isEmpty(powerApplyAct.getId())) {
|
if (StringUtils.isEmpty(powerApplyAct.getId())) {
|
||||||
|
powerApplyAct.setCreateUserId(UserUtils.getUserId());
|
||||||
|
powerApplyAct.setUserId(UserUtils.getUserId());
|
||||||
baseMapper.insert(powerApplyAct);
|
baseMapper.insert(powerApplyAct);
|
||||||
} else {
|
} else {
|
||||||
baseMapper.updateById(powerApplyAct);
|
baseMapper.updateById(powerApplyAct);
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user