whyclxw
2025-06-14 7275a81d8f77f8b2238541c98e310aa761714fea
src/main/java/com/whyc/controller/AttachLockController.java
@@ -5,6 +5,7 @@
import com.whyc.service.AttachLockService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,12 +17,19 @@
@RestController
@RequestMapping("attachLock")
public class AttachLockController {
    @Autowired
    private AttachLockService service;
    @ApiOperation(value = "修改附件锁定状态")
    @PostMapping()
    @PostMapping("updateAttachLock")
    public Response updateAttachLock(@RequestBody List<AttachLock> list){
        return service.attachLock(list);
    }
    @ApiOperation(tags = "产品管理",value = "修改丝印锁定状态")
    @PostMapping("updateProductLock")
    public Response updateProductLock(@RequestBody List<AttachLock> list){
        return service.updateProductLock(list);
    }
}