| | |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.stylefeng.guns.core.base.controller.BaseController; |
| | | import com.stylefeng.guns.core.beetl.ShiroExtUtil; |
| | | import com.stylefeng.guns.core.common.constant.factory.PageFactory; |
| | | import com.stylefeng.guns.core.shiro.ShiroKit; |
| | | import com.stylefeng.guns.core.util.DateUtil; |
| | |
| | | @RequestMapping("/add") |
| | | @ResponseBody |
| | | public Object add(TAdditionalFee additionalFee){ |
| | | Integer companyId = ShiroKit.getUser().getObjectId(); |
| | | Integer companyId = ShiroExtUtil.getUser().getObjectId(); |
| | | additionalFee.setCreateTime(DateUtil.parseTime(DateUtil.getTime())); |
| | | additionalFee.setState(1); |
| | | additionalFee.setCompanyId(companyId); |