|
|
@@ -215,10 +215,10 @@ public class ScannerInfoController extends BaseController {
|
|
|
@Log(title = "扫描仪管理", businessType = BusinessType.INSERT, eventLevel = EventLevel.MIDDLE)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody ScannerInfo scannerInfo) throws IOException {
|
|
|
- String y = "Y";
|
|
|
- if (!y.equals(scannerInfo.getIsPublic())) {
|
|
|
- scannerInfo.setDeptId(SecurityUtils.getDeptId());
|
|
|
- }
|
|
|
+// String y = "Y";
|
|
|
+// if (!y.equals(scannerInfo.getIsPublic())) {
|
|
|
+// scannerInfo.setDeptId(SecurityUtils.getDeptId());
|
|
|
+// }
|
|
|
scannerInfo.setCreateBy(SecurityUtils.getUsername());
|
|
|
scannerInfoService.insertScannerInfo(scannerInfo);
|
|
|
|