| | |
| | | import com.java110.core.annotation.Java110Cmd; |
| | | import com.java110.core.annotation.Java110Transactional; |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.AbstractServiceCmdListener; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.core.factory.AuthenticationFactory; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | |
| | | * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行 |
| | | */ |
| | | @Java110Cmd(serviceCode = "property.saveProperty") |
| | | public class SavePropertyCmd extends AbstractServiceCmdListener { |
| | | public class SavePropertyCmd extends Cmd { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(SavePropertyCmd.class); |
| | | |
| | |
| | | privilegeUserPo.setPrivilegeFlag("1"); |
| | | privilegeUserPo.setStoreId(storePo.getStoreId()); |
| | | privilegeUserPo.setUserId(userPo.getUserId()); |
| | | privilegeUserPo.setPId(defaultPrivilege); |
| | | privilegeUserPo.setPuId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID)); |
| | | privilegeUserPo.setpId(defaultPrivilege); |
| | | |
| | | flag = privilegeUserV1InnerServiceSMOImpl.savePrivilegeUser(privilegeUserPo); |
| | | if (flag < 1) { |
| | |
| | | } |
| | | } |
| | | |
| | | cmdDataFlowContext.setResponseEntity(ResultVo.success()); |
| | | |
| | | |
| | | |
| | | } |
| | | |