|
@@ -503,7 +503,7 @@ public class FactoryServiceImpl implements FactoryService {
|
|
|
* @param getIsEncryptionReq
|
|
|
*/
|
|
|
@Override
|
|
|
- public OutIsEncryptionRes GetIsEncryption(GetIsEncryptionReq getIsEncryptionReq){
|
|
|
+ public OutIsEncryptionRes getIsEncryption(GetIsEncryptionReq getIsEncryptionReq){
|
|
|
//1.查询是否存在
|
|
|
BaseFactory factory = baseFactoryMapper.selectById(getIsEncryptionReq.getId());
|
|
|
AssertUtil.isNull(factory, "供应商不存在");
|
|
@@ -514,7 +514,7 @@ public class FactoryServiceImpl implements FactoryService {
|
|
|
//3-修改是否加密状态
|
|
|
factory.setIsQrCodeEncode(getIsEncryptionReq.getIsQrCodeEncode());
|
|
|
baseFactoryMapper.updateById(factory);
|
|
|
- OutIsEncryptionRes res=new OutIsEncryptionRes();
|
|
|
+ OutIsEncryptionRes res = new OutIsEncryptionRes();
|
|
|
res.setStatus(getIsEncryptionReq.getIsQrCodeEncode());
|
|
|
return res;
|
|
|
}
|