Commit 9fad618c by zhiwj

门店

parent 04c877b3
......@@ -66,8 +66,10 @@ public class StoreDictApiServiceImpl implements StoreDictApiService {
public ServiceResponse<StoreDictDTO> getStoreDict(String categoryCode, String code) {
BizdictDTO dto = this.bizdictService.getByCode(categoryCode, code);
StoreDictDTO storeDictDTO = new StoreDictDTO();
storeDictDTO.setKey(dto.getName());
storeDictDTO.setValue(dto.getValueContent());
if (dto != null) {
storeDictDTO.setKey(dto.getName());
storeDictDTO.setValue(dto.getValueContent());
}
return EnterpriseServiceResponse.success(storeDictDTO);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment