Compare commits
No commits in common. "21f3c62a9d0f53175144dfbc6bc4e67bbd719e01" and "62ed225d2bb1bba7d78954f2a602f74652d30800" have entirely different histories.
21f3c62a9d
...
62ed225d2b
|
|
@ -29,6 +29,7 @@ public class InventoryApplyController extends BaseController {
|
|||
* 创建领用单并领用
|
||||
*/
|
||||
@RequestMapping("/create")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result create() {
|
||||
List<Map> mapList = parmsUtil.getList("data",Map.class);
|
||||
InventoryApply useInfo = parmsUtil.getObject("useInfo", InventoryApply.class);
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ public class InventoryController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@RequestMapping("/update")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result update() {
|
||||
List<Inventory> list = parmsUtil.getList("list", Inventory.class);
|
||||
inventoryService.updatePurchaseItem(list);
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ public class InventoryPurchaseController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@RequestMapping("/addOneGoods")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result addOneGoods() {
|
||||
Inventory inventory = parmsUtil.getObject("data", Inventory.class);
|
||||
if (inventory == null) {
|
||||
|
|
@ -111,6 +112,7 @@ public class InventoryPurchaseController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@RequestMapping("/returnable")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result returnable() {
|
||||
List<Integer> list = parmsUtil.getIntList("idList");
|
||||
if (list == null || list.isEmpty()) {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ public class SocialPersonController extends BaseController {
|
|||
@Autowired
|
||||
private SocialUserService socialUserService;
|
||||
@RequestMapping("getCustomSocialInfo")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result<OM1101> getCustomSocialInfo() {
|
||||
IM1101 im1101 = parmsUtil.getObject("data", IM1101.class);
|
||||
if (im1101 == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue