This commit is contained in:
parent
d6b28a350e
commit
ee69af1509
|
|
@ -29,7 +29,6 @@ public class InventoryApplyController extends BaseController {
|
||||||
* 创建领用单并领用
|
* 创建领用单并领用
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/create")
|
@RequestMapping("/create")
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public Result create() {
|
public Result create() {
|
||||||
List<Map> mapList = parmsUtil.getList("data",Map.class);
|
List<Map> mapList = parmsUtil.getList("data",Map.class);
|
||||||
InventoryApply useInfo = parmsUtil.getObject("useInfo", InventoryApply.class);
|
InventoryApply useInfo = parmsUtil.getObject("useInfo", InventoryApply.class);
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,6 @@ public class InventoryController extends BaseController {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/update")
|
@RequestMapping("/update")
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public Result update() {
|
public Result update() {
|
||||||
List<Inventory> list = parmsUtil.getList("list", Inventory.class);
|
List<Inventory> list = parmsUtil.getList("list", Inventory.class);
|
||||||
inventoryService.updatePurchaseItem(list);
|
inventoryService.updatePurchaseItem(list);
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,6 @@ public class InventoryPurchaseController extends BaseController {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/addOneGoods")
|
@RequestMapping("/addOneGoods")
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public Result addOneGoods() {
|
public Result addOneGoods() {
|
||||||
Inventory inventory = parmsUtil.getObject("data", Inventory.class);
|
Inventory inventory = parmsUtil.getObject("data", Inventory.class);
|
||||||
if (inventory == null) {
|
if (inventory == null) {
|
||||||
|
|
@ -112,7 +111,6 @@ public class InventoryPurchaseController extends BaseController {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/returnable")
|
@RequestMapping("/returnable")
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public Result returnable() {
|
public Result returnable() {
|
||||||
List<Integer> list = parmsUtil.getIntList("idList");
|
List<Integer> list = parmsUtil.getIntList("idList");
|
||||||
if (list == null || list.isEmpty()) {
|
if (list == null || list.isEmpty()) {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ public class SocialPersonController extends BaseController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private SocialUserService socialUserService;
|
private SocialUserService socialUserService;
|
||||||
@RequestMapping("getCustomSocialInfo")
|
@RequestMapping("getCustomSocialInfo")
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public Result<OM1101> getCustomSocialInfo() {
|
public Result<OM1101> getCustomSocialInfo() {
|
||||||
IM1101 im1101 = parmsUtil.getObject("data", IM1101.class);
|
IM1101 im1101 = parmsUtil.getObject("data", IM1101.class);
|
||||||
if (im1101 == null) {
|
if (im1101 == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue