| | |
| | | import com.example.erp.common.Result; |
| | | import com.example.erp.entity.pp.TagStyle; |
| | | import com.example.erp.service.pp.TagStyleService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @RequestMapping("tagStyle") |
| | |
| | | public Result addTag(@RequestBody TagStyle tagStyle){ |
| | | return Result.seccess(tagStyleService.addTag(tagStyle)); |
| | | } |
| | | |
| | | @ApiOperation("修改标签打印次数") |
| | | @PostMapping("/updatePrintNumber") |
| | | public Result updatePrintNumber( |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | return Result.seccess(tagStyleService.updatePrintNumberSv(object)); |
| | | } |
| | | } |