| | |
| | | package com.consum.base.controller; |
| | | |
| | | import com.consum.base.BaseController; |
| | | import com.consum.base.core.service.LWhWarningCoreServiceImpl; |
| | | import com.consum.base.core.utils.CommonUtil; |
| | | import com.consum.base.pojo.query.WhWarningQry; |
| | | import com.consum.base.service.LWhWarningServiceImpl; |
| | | import com.consum.model.po.FinSysTenantUser; |
| | | import com.walker.db.page.GenericPager; |
| | | import com.walker.infrastructure.utils.DateUtils; |
| | | import com.walker.web.ResponseValue; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | return ResponseValue.success(genericPager); |
| | | } |
| | | |
| | | |
| | | @Resource |
| | | private LWhWarningCoreServiceImpl lWhWarningCoreService; |
| | | |
| | | |
| | | @GetMapping("/handerChenKuCun") |
| | | public ResponseValue handerChenKuCun() { |
| | | WhWarningQry param = CommonUtil.getObjFromReq(WhWarningQry.class); |
| | | FinSysTenantUser sysInfo = this.getSysInfo(); |
| | | long dealTime = DateUtils.getDateTimeNumber(System.currentTimeMillis()); |
| | | |
| | | lWhWarningCoreService.updateKuCun(param.getWarehouseType(), param.getBaseWarehouseId(), null, sysInfo, dealTime); |
| | | return ResponseValue.success(); |
| | | } |
| | | |
| | | |
| | | } |