|
|
@@ -60,10 +60,11 @@ public class AppServiceImpl implements AppService {
|
|
|
*/
|
|
|
@Override
|
|
|
public Result<String> addApp(AppForm form) {
|
|
|
- YtPlatformUserApp old = appMapper.getByPackName(form.getPackageName());
|
|
|
- if(Objects.nonNull(old)){
|
|
|
- return Result.resultErr(RepMessage.OBJECT_ALREADY_EXIST);
|
|
|
- }
|
|
|
+ // 20251118 反馈移除包名唯一校验
|
|
|
+// YtPlatformUserApp old = appMapper.getByPackName(form.getPackageName());
|
|
|
+// if(Objects.nonNull(old)){
|
|
|
+// return Result.resultErr(RepMessage.OBJECT_ALREADY_EXIST);
|
|
|
+// }
|
|
|
YtPlatformUserApp app = new YtPlatformUserApp();
|
|
|
BeanUtils.copyProperties(form, app);
|
|
|
app.setCreateTime(new Date());
|