| | |
| | | import com.java110.vo.ResultVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | |
| | | /** |
| | | * 类表述:保存 |
| | |
| | | public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException { |
| | | |
| | | CouponPoolPo couponPoolPo = BeanConvertUtil.covertBean(reqJson, CouponPoolPo.class); |
| | | couponPoolPo.setState(CouponPoolPo.STATE_RUN); |
| | | couponPoolPo.setPoolId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID)); |
| | | int flag = couponPoolV1InnerServiceSMOImpl.saveCouponPool(couponPoolPo); |
| | | |